cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: My personal pitfalls (or: too magic?)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Dec 2005 10:24:13 -0800

On Wed, Dec 14, 2005 at 05:17:54PM +0100, Michael Wallner wrote:
> I wrote:
>
> > - compressed data is inflated without updating headers (I can't force libcurl not to inflate)
>
> Sorry for the huge latency, but find attached a tiny patch which introduces CURLOPT_IGNORE_CONTENT_ENCODING.

If all you are trying to do is have libcurl ignore any received
Content-Encoding, you don't need a new option. Just send your
Accept-Encoding: header using CURLOPT_HTTPHEADER instead of CURLOPT_ENCODING.

>>> Dan

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