#35623 [Bgs]: Accept-Encoding header missing from $_SERVER and $ENV
| From: | webdeveloper at bokehman dot com | Date: | Sat, 10 Dec 2005 18:13:42 +0000 |
| Subject: | #35623 [Bgs]: Accept-Encoding header missing from $_SERVER and $ENV | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90205@lists.php.net to get a copy of this message | ||
ID: 35623
User updated by: webdeveloper at bokehman dot com
Reported By: webdeveloper at bokehman dot com
Status: Bogus
Bug Type: Zlib Related
Operating System: Win XP
PHP Version: 5.1.1
New Comment:
It is set by the server. It is available to the log file. It is only in
PHP it is not available.
Previous Comments:
------------------------------------------------------------------------
[2005-12-10 19:00:46] sniper@php.net
Any entries miss only if the webserver doesn't set them.
Not PHP bug.
------------------------------------------------------------------------
[2005-12-10 18:59:53] webdeveloper at bokehman dot com
Description:
------------
Accept-Encoding header is missing from $_SERVER array meaning
ob_start('gzhandler') doesn't work. I am using Apache2 and have been
saving %{Accept-Encoding} to the apache log so I know the header is
arriving at the server but PHP does not have access to it. Tested in
5.1.1 and 5.0.4 (win32) and it is missing from both.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35623&edit=1