#34820 [Opn->Fbk]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER

From: Date: Mon, 10 Oct 2005 20:30:39 +0000
Subject: #34820 [Opn->Fbk]: 'HTTP_ACCEPT_ENCODING' not set in $_SERVER
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86368@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: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Windows XP Home SP1 PHP Version: 4.4.0 New Comment: >While it was working before it was working before *what*? And what your phpinfo() tells about it? Or there is no Accept-Encoding too? Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#86368) next »