cURL / Mailing Lists / curl-library / Single Mail


Re: Should curl be unzipping a gzipped response?

From: Graham Charters <>
Date: Thu, 8 Feb 2007 09:57:20 +0000

On 05/02/07, Dan Fandrich <> 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
> --
> 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,

Received on 2007-02-08