cURL / Mailing Lists / curl-library / Single Mail


request encoding without decoding

From: Giuseppe Attardi <>
Date: Sat, 16 Feb 2013 13:05:17 +0100

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


and setting:

     curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING,"gzip");

Is there a better way to do this?

-- Beppe

List admin:
Received on 2013-02-16