mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
20 lines
302 B
PHP
20 lines
302 B
PHP
--TEST--
|
|
Bug #51269 (zlib.output_compression Overwrites Vary Header)
|
|
--INI--
|
|
zlib.output_compression=1
|
|
--ENV--
|
|
HTTP_ACCEPT_ENCODING=gzip
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
header('Vary: Cookie');
|
|
echo 'foo';
|
|
?>
|
|
--EXPECTF--
|
|
%a
|
|
--EXPECTHEADERS--
|
|
Vary: Cookie
|
|
Content-Encoding: gzip
|
|
Vary: Accept-Encoding
|