Re: Is Curl GZIP support broken?

From: Date: Wed, 05 May 2004 13:14:59 +0000
Subject: Re: Is Curl GZIP support broken?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185419@lists.php.net to get a copy of this message
Dac Chartrand wrote:
The following code used to work until i upgraded to 4.3.6 Code: --------------- // Get RSS feed $c = curl_init('http://www.vegguide.org/rss/feed.rss?all=1&omit_hours=1'); curl_setopt($c, CURLOPT_ENCODING, 'gzip'); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_COOKIEFILE, $cookie_jar); // *** This next line is the problem! *** $data = curl_exec($c); curl_close($c);
1) Does it work with the sample URL: http://www.vegguide.org/plain/sample.rss ? If yes, then I'm guessing the authentication cookie in the cookie_jar has expired. 2) Does it work using the CLI curl? -- Stuart

« previous php.general (#185419) next »