mirror of
https://github.com/php/php-src.git
synced 2024-12-05 07:46:06 +08:00
45f7b2bcc8
Also fix a single instance of CRLF in ibase_query.c.
18 lines
544 B
PHP
18 lines
544 B
PHP
--TEST--
|
|
Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!function_exists('gzdeflate'))
|
|
die("skip zlib extension required");
|
|
?>
|
|
--INI--
|
|
zlib.output_compression=On
|
|
--ENV--
|
|
HTTP_ACCEPT_ENCODING=gzip
|
|
--FILE--
|
|
<?php
|
|
header("Content-length: 200");
|
|
echo str_repeat("a", 200);
|
|
--EXPECT--
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|