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.

I could only achieve this by configuring curl with

    --without-zlib

and setting:

    curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING,"gzip");

Is there a better way to do this?

-- Beppe

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

Reply via email to