cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_HTTP_CONTENT_DECODING and TRANSFER

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 26 Mar 2007 12:57:52 -0700

On Mon, Mar 26, 2007 at 12:15:55PM -0700, Matthew Veenstra wrote:
> 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?

No real reason, except perhaps to get by a buggy server.

> What are?
>
> CURLOPT_HTTP_CONTENT_DECODING
> CURLOPT_HTTP_TRANSFER_DECODING
>
> And should I worry about them.

They don't exist, so they're nothing to worry about!

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-26