#34820 [Csd->Bgs]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER
| From: | tony2001@php.net | Date: | Tue, 11 Oct 2005 23:15:00 +0000 |
| Subject: | #34820 [Csd->Bgs]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86432@lists.php.net to get a copy of this message | ||
ID: 34820
Updated by: tony2001@php.net
Reported By: AlReece45 at yahoo dot com
-Status: Closed
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP Home SP1
PHP Version: 4.4.0
New Comment:
No bug -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2005-10-12 01:09:41] AlReece45 at yahoo dot com
This seems to be a wierd problem only happening on my computer. I
tested it on a server. I don't believe my computer is sending out any
"Accept-Encoding" header at all. This is not needed anymore.
------------------------------------------------------------------------
[2005-10-10 23:26:38] tony2001@php.net
Please reopen the report only when you tried the latest snapshot.
And try with some other browser.
------------------------------------------------------------------------
[2005-10-10 23:17:56] AlReece45 at yahoo dot com
I copied what Firefox sent using LiveHTTPHeaders and sent it using
telnet via the Command Prompt to request a script that outputed
$_SERVER.
telnet
o localhost 80
GET /test.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4)
Gecko/20050908 Firefox/1.4
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
I can give you the results if you want. I'll test the snapshot as soon
as I can compile it (a few hours).
If its not a php problem, what would it be? I put outputed every
variable in a seperate page from my scripts and it still wasn't showing
up. And I believe it stopped working when I updated to v4.4.0
------------------------------------------------------------------------
[2005-10-10 22:47:49] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
>What I meant is that is was set before.
Once again: before what happened?
Yes, I got that "before it stopped working", but I guess you did
something as if it just magically disappeared - that's not PHP
problem.
Btw, it works just fine here.
>It isn't a browser problem b/c I checked by sending a
>request manually using telnet.
How exactly did you check it?
------------------------------------------------------------------------
[2005-10-10 22:38:24] AlReece45 at yahoo dot com
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.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34820
--
Edit this bug report at http://bugs.php.net/?id=34820&edit=1