From: Olaf at XCC dot TMFWeb dot NL Operating system: * PHP version: 4.3.6 PHP Bug Type: HTTP related Bug description: No gzip accept-encoding for HTTP request
Description: ------------ This code sends a HTTP request without gzip accept-encoding header, so the server can't send a gzip content encoded response. Reproduce code: --------------- <?php echo strlen(file_get_contents("http://php.net/")); ?> Expected result: ---------------- GET /s HTTP/1.0 Content-Encoding: gzip Host: php.net HTTP/1.0 200 OK Content-Type: text/plain Actual result: -------------- GET /s HTTP/1.0 Host: php.net HTTP/1.0 200 OK Content-Type: text/plain -- Edit bug report at http://bugs.php.net/?id=28051&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28051&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28051&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28051&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28051&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28051&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28051&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28051&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28051&r=support Expected behavior: http://bugs.php.net/fix.php?id=28051&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28051&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28051&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28051&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28051&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28051&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28051&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28051&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28051&r=float