On Sat, 16 Feb 2013, Giuseppe Attardi wrote:

I want to be able to request for gzip content encoding, but do not want curl to decode it for me, since I want to store the content encoded.

You would probably do it one of two ways:

 1 - ask for the content encoded "manually" without using
     CURLOPT_ACCEPT_ENCODING. Just send the plain header yourself.

 2 - Use CURLOPT_ACCEPT_ENCODING but switch off content decoding by setting
     CURLOPT_HTTP_CONTENT_DECODING to 0.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to