#34820 [Fbk->Opn]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER
| From: | AlReece45 at yahoo dot com | Date: | Mon, 10 Oct 2005 20:38:25 +0000 |
| Subject: | #34820 [Fbk->Opn]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86371@lists.php.net to get a copy of this message | ||
ID: 34820
User updated by: AlReece45 at yahoo dot com
Reported By: AlReece45 at yahoo dot com
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Windows XP Home SP1
PHP Version: 4.4.0
New Comment:
Sorry if this posts twice...
What I meant is that is was set before.
And phpinfo() does not it either. I checked both there and using the
code: <?php var_export($_SERVER); ?> to check to see if I was just
using the wrong index or just a documentation bug. Nothing in the
$_SERVER variable, or $GLOBALS (checked it too) has anything with gzip
in it.
It isn't a browser problem b/c I checked by sending a request manually
using telnet.
Previous Comments:
------------------------------------------------------------------------
[2005-10-10 22:30:38] tony2001@php.net
>While it was working before
it was working before *what*?
And what your phpinfo() tells about it?
Or there is no Accept-Encoding too?
------------------------------------------------------------------------
[2005-10-10 22:22:16] AlReece45 at yahoo dot com
Description:
------------
While it was working before, the $_SERVER['HTTP_ACCEPT_ENCODING'] is
not longer being set.
I'm using Apache 2 with the PHP Module.
Note this is not a problem of "Content-Encoding" being sent
Reproduce code:
---------------
<?php
var_export($_SERVER['HTTP_ACCEPT_ENCODING']);
?>
Expected result:
----------------
'gzip, deflate'
Actual result:
--------------
NULL
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34820&edit=1