ID: 23702 Updated by: [EMAIL PROTECTED] Reported By: stephen at pierzchala dot com -Status: Analyzed +Status: Closed Bug Type: Documentation problem Operating System: RedHat 8.0 PHP Version: 4.3.2RC3 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Fixed by Dave. Previous Comments: ------------------------------------------------------------------------ [2003-07-20 10:24:02] [EMAIL PROTECTED] The source bug is fixed now. Documentation still needs work. ------------------------------------------------------------------------ [2003-07-14 03:27:04] julian_bond at voidstar dot com Yet another data point. I upgraded curl to 7.10.5 on linux (doh!). curl --compressed now works. But CURLOPT_ENCODING still doesn't. The curl docs say that curl needs to be compiled with zlib to support compression. It looks like MS Win 4.3.2 and 4.3.3rc1 don't do this, given that curl_info() reports "libcurl/7.10.5 OpenSSL/0.9.7b" while linux reports "libcurl/7.10.2 OpenSSL/0.9.6 zlib/1.1.4". This bug is currently category "documentation problem". I believe it should be treated as a code problem. I'd really like to see it fixed in 4.3.3 ------------------------------------------------------------------------ [2003-07-11 07:15:32] julian_bond at voidstar dot com Just done some analysis on this in two setups. Both 4.3.2 1. Win32 using php_curl.dll libcurl/7.10.5 OpenSSL/0.9.7b 2. redhat 7.3, compiled with '--with-curl', libcurl/7.10.2 OpenSSL/0.9.6 zlib/1.1.4 In both cases, CURLOPT_ENCODING is being ignored. no matter what parameter is added, the Accept-Encoding: header is never generated. If gzip content is forced to be returned, curl doesn't decode it. Whether the problem is with curl or php I'm not sure. ------------------------------------------------------------------------ [2003-06-07 13:45:28] julian_bond at voidstar dot com As far as I can see this option is not working in Win32 4.3.2 curl_setopt ($ch, CURLOPT_ENCODING,"") and curl_setopt ($ch, CURLOPT_ENCODING,"gzip") don't throw errors, but they also don't generate the Accept-Encoding: header. At a guess php_curl.dll is being built without zlib support. ------------------------------------------------------------------------ [2003-05-19 22:33:08] stephen at pierzchala dot com Thanks for this...I know it is a documentation issue and I know it accepts a string value...but how do you activate this feature? I am using cURL 7.10.5 Thanks ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23702 -- Edit this bug report at http://bugs.php.net/?id=23702&edit=1