PHP 4.0 Bug #9231 Updated: when usign ob_gzhandler HTTP HEAD does not work
| From: | boian at bonev dot com | Date: | Tue, 20 Feb 2001 04:08:43 +0000 |
| Subject: | PHP 4.0 Bug #9231 Updated: when usign ob_gzhandler HTTP HEAD does not work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46973@lists.php.net to get a copy of this message | ||
ID: 9231
User Update by: boian@bonev.com
Status: Assigned
Bug Type: Output Control
Description: when usign ob_gzhandler HTTP HEAD does not work
yep. both seem to be apache SAPI module problem related to ob in general (at least i suppose so)
Previous Comments:
---------------------------------------------------------------------------
[2001-02-19 23:03:00] andre@php.net
similar to Bug id #9031
---------------------------------------------------------------------------
[2001-02-17 11:51:19] bbonev@php.net
reopened
---------------------------------------------------------------------------
[2001-02-17 11:50:18] boian@bonev.com
HTTP-1.0 and HTTP/1.0 are just the same for apache
this bug report says that ob_gzhandler crashes HEAD requests when php is an apache module
---------------------------------------------------------------------------
[2001-02-14 12:25:12] andre@php.net
shouldn't it reaad
HEAD / HTTP/1.0
bogus
---------------------------------------------------------------------------
[2001-02-12 15:05:20] boian@bonev.com
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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=9231