ID:               28168
 Comment by:       daniel at haxx dot se
 Reported By:      dac514 at sympatico dot ca
 Status:           Bogus
 Bug Type:         cURL related
 Operating System: Widndows 2000
 PHP Version:      4.3.6
 New Comment:

I'm not aware of any such libcurl bugs, but the URL in this report
doesn't work and I cannot repeat this problem.


Previous Comments:
------------------------------------------------------------------------

[2004-04-29 15:27:03] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

This is likely to be a bug in the cURL library. The PHP 
interface to the library had no changes that would cause 
this bug. 

------------------------------------------------------------------------

[2004-04-26 20:44:31] dac514 at sympatico dot ca

Description:
------------
The following code used to work until i upgraded to 4.3.6

Reproduce 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);


Expected result:
----------------
$data should be text. xml_parse($xml, $data) should be able to handle
it.

Actual result:
--------------
$data is compressed gzip binaray data. I can't use it in this format.

What changed?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28168&edit=1

Reply via email to