Sign in
webkit
/
WebKit
/
c5ce17eb76debf360766bfa07269d63d48120610
/
.
/
LayoutTests
/
http
/
tests
/
inspector
/
network
/
resources
/
gzipped-lorem-no-content-length.php
blob: 1702f66327a7c14243aea54173e8aac789d0c3e8 [
file
] [
log
] [
blame
]
<?
php
$text
=
file_get_contents
(
"./lorem.txt"
);
$gzipText
=
gzencode
(
$text
,
6
);
header
(
"Content-Type: text/plain"
);
header
(
"Content-Encoding: gzip"
);
flush
();
// Send headers without Content-Length.
echo $gzipText
;
?>