cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_HTTP_CONTENT_DECODING and TRANSFER

From: Matthew Veenstra <matts_lists_at_tribalmedia.com>
Date: Mon, 26 Mar 2007 12:15:55 -0700

        Hi,

I need to start using a server with the compressed content encoding.

I can get this to work by just adding.

                keyIfError(curl_easy_setopt(aCurl, CURLOPT_ENCODING, ""));

Which is wonderful and great...as libcurl always seems to be :)

Is there ever a reason to NOT set this if I am always happy to have
curl decompress for me?

What are?

CURLOPT_HTTP_CONTENT_DECODING
CURLOPT_HTTP_TRANSFER_DECODING

And should I worry about them.

Thanks,
Matt
tribalmedia
Received on 2007-03-26