|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-30 22:11 UTC] yohgaki@php.net
[2002-10-01 05:16 UTC] yohgaki@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 06:00:01 2025 UTC |
When the following PHP script: <?php ob_start("ob_gzhandler"); ob_end_clean(); print "foo!\n"; ?> is called from a client that sends "Accept-encoding: gzip", it produces the following result: ----------------------- HTTP/1.1 200 OK Date: Fri, 13 Sep 2002 13:53:34 GMT Server: Apache/1.3.26 (Unix) PHP/4.2.3 mod_ssl/2.8.10 OpenSSL/0.9.6e X-Powered-By: PHP/4.2.3 Content-Encoding: gzip Vary: Accept-Encoding Content-Length: 26 Content-Type: text/html foo! ----------------------- The output is not gzip'ed, but the header still indicates that it is.