Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

GZIP encoding in Search and Promote rersponses

anatolii_martse
Level 1
Level 1

Hi,

Is gzip'ing supported by s&p at all?

If yes, how it could be enabled? 

Some details.

There is an "Accept-Encoding" header among request headers:

Accept-Encoding:gzip, deflate, sdch

And we get a response in JSON format, sending a format=json in request parameters string.

Thank you in advance.

1 Accepted Solution
shekhardhiman
Correct answer by
Employee
Employee

Hi,

Thanks for writing back.

Yes this can be done but note that it is only effective for really large responses. 

This would be a consulting engagement to set this up & test it. 

Thanks!

View solution in original post

4 Replies
shekhardhiman
Employee
Employee

Hi there,

Thanks for reaching out to Adobe Community.

Yes it supports the capability to download and extract information from the following archive, compressed, and uncompressed file types: .zip/tar/tar.gz/tar.bz2/gzip/bzip2.

For more info see the Getting Started:

https://marketing.adobe.com/resources/help/en_US/snp/c_getting_started.html

Thanks!

anatolii_martse
Level 1
Level 1

Hi Shekhar,

Thank you for the fast response and the link provided.

I think we are talking about different things. I've found the line you mentioned here: https://marketing.adobe.com/resources/help/en_US/whatsnew/07182013.htmlBut seems it is another topic.

I'd like to know if it's possible to force S&P reply on search requests with gzip'ed response in order to reduce data transfer? Such responses are expected to have following http response header:

Content-Encoding:gzip

Thanks. 

shekhardhiman
Correct answer by
Employee
Employee

Hi,

Thanks for writing back.

Yes this can be done but note that it is only effective for really large responses. 

This would be a consulting engagement to set this up & test it. 

Thanks!

View solution in original post