|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35623 Accept-Encoding header missing from $_SERVER and $ENV
Submitted: 2005-12-10 18:59 UTC Modified: 2005-12-10 19:13 UTC
From: webdeveloper at bokehman dot com Assigned:
Status: Not a bug Package: Zlib related
PHP Version: 5.1.1 OS: Win XP
Private report: No CVE-ID: None
 [2005-12-10 18:59 UTC] webdeveloper at bokehman dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-10 19:00 UTC]
Any entries miss only if the webserver doesn't set them.
Not PHP bug.
 [2005-12-10 19:13 UTC] webdeveloper at bokehman dot com
It is set by the server. It is available to the log file. It is only in PHP it is not available.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 02:01:28 2024 UTC