PHP 4.0 Bug #9231: when usign ob_gzhandler HTTP HEAD does not work

From: Date: Mon, 12 Feb 2001 20:05:20 +0000
Subject: PHP 4.0 Bug #9231: when usign ob_gzhandler HTTP HEAD does not work
Groups: php.dev 
Request: Send a blank email to php-dev+get-46440@lists.php.net to get a copy of this message
From: boian@bonev.com Operating system: Linux glibc 2.1 PHP version: 4.0 Latest CVS (12/02/2001) PHP Bug Type: Output Control Bug description: when usign ob_gzhandler HTTP HEAD does not work php.ini: output_handler = ob_gzhandler tests: a plain html request: root@orange:~# telnet 0 80 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. HEAD / HTTP-1.0 HTTP/1.1 200 OK Date: Mon, 12 Feb 2001 19:57:47 GMT Server: Apache/1.3.17 (Unix) PHP/4.0.5-dev Last-Modified: Mon, 04 Dec 2000 13:01:35 GMT ETag: "ac04-1f6-3a2b95af" Accept-Ranges: bytes Content-Length: 502 Connection: close Content-Type: text/html Connection closed by foreign host. php script request: root@orange:~# telnet 0 80 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. HEAD / HTTP-1.0 host: mail.bonev.com same php script, but now GET instead of HEAD: root@orange:~# telnet 0 80 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. GET / HTTP/1.0 host: mail.bonev.com HTTP/1.1 302 Found Date: Mon, 12 Feb 2001 19:57:22 GMT Server: Apache/1.3.17 (Unix) PHP/4.0.5-dev X-Powered-By: PHP/4.0.5-dev location: /6bcf63364235c745643078ff1e0df2d6/ Connection: close Content-Type: text/html Connection closed by foreign host. -- Edit Bug report at: http://bugs.php.net/?id=9231&edit=1

« previous php.dev (#46440) next »