Sign in
webkit
/
WebKit
/
240d017fb55958095e34f5bd1d9c5532e9fae1ef
/
.
/
LayoutTests
/
http
/
tests
/
inspector
/
network
/
resources
/
gzipped-lorem.php
blob: e4e368d0628d521d028bf438b177c4472c77ebf1 [
file
] [
log
] [
blame
]
<?
php
$text
=
file_get_contents
(
"./lorem.txt"
);
$gzipText
=
gzencode
(
$text
,
6
);
header
(
"Content-Type: text/plain"
);
header
(
"Content-Encoding: gzip"
);
header
(
"Content-Length: "
.
strlen
(
$gzipText
));
echo $gzipText
;
?>