#40325 [Opn->Asn]: Vary: header missing in gzip output handlers
| From: | mike@php.net | Date: | Fri, 02 Feb 2007 14:01:23 +0000 |
| Subject: | #40325 [Opn->Asn]: Vary: header missing in gzip output handlers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108332@lists.php.net to get a copy of this message | ||
ID: 40325
Updated by: mike@php.net
Reported By: nicolas dot grekas+php at gmail dot com
-Status: Open
+Status: Assigned
-Bug Type: HTTP related
+Bug Type: Output Control
Operating System: All
PHP Version: 5.2.0
-Assigned To:
+Assigned To: mike
Previous Comments:
------------------------------------------------------------------------
[2007-02-02 13:11:50] nicolas dot grekas+php at gmail dot com
Oops : I've switched Expected and Actual results, sorry
------------------------------------------------------------------------
[2007-02-02 13:10:28] nicolas dot grekas+php at gmail dot com
Description:
------------
At least ob_gzhandler, maybe gzip.outputcompress don't send a "Vary:
Accept-Encoding" header when browser don't support compression. The
result is that intermediate caches may get corrupted.
Reproduce code:
---------------
execute the code bellow with php-cgi :
<?php ob_start('ob_gzhander');
Expected result:
----------------
X-Powered-By: PHP/5.2.0
Content-Type: text/html
Actual result:
--------------
X-Powered-By: PHP/5.2.0
Content-Type: text/html
Vary: Accept-Encoding
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40325&edit=1