| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Unzipping gzip compressed response
From: Graham Charters <gcharters_at_googlemail.com>
Date: Thu, 1 Feb 2007 09:28:24 +0000
Hi,
I'm using the PHP curl extension to prototype RSS client support in a
My request headers include the following:
Accept-Encoding: gzip
And the response headers include:
Content-Encoding: gzip
The relevant (I think :-) ) parts of my request code are:
curl_setopt($handle, CURLOPT_HEADER, false);
I was under the impression that curl would automatically unzip a gziped
$unzipped = gzinflate(substr($result,10));
I'm not comfortable doing this if the response should actually already be
Could someone please tell me whether or not curl should be unzipping the
FYI: I've tried this with curl 7.15.5 and 7.16.1 (built with Open SSL
Any help would be greatly appreciated. Many thanks.
Regards,
Graham.
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info