curl-library
Re: Should curl be unzipping a gzipped response?
Date: Thu, 8 Feb 2007 09:57:20 +0000
On 05/02/07, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Mon, Feb 05, 2007 at 05:04:28PM +0000, Graham Charters wrote:
> > Could someone please tell me whether or not curl should be unzipping
> > the response, or whether there is something I need to do to enable
> > this?
>
> It should be only if you enable it using the CURLOPT_ENCODING option (set
> it to an empty string to handle all supported compression algorithms).
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
>
Hi Dan, thanks for the quick and helpful response. I tried this and
it didn't work, but the fact you confirmed it should led me to
discover that I hadn't built my curl against zlib - doh!
Thanks again,
Graham.
Received on 2007-02-08