Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 273 Bytes
--TEST--
Sample test for DEFLATE_POST
--DEFLATE_POST--
blahblah=blah
--FILE--
<?php
$content = file_get_contents('php://input');
if (gzuncompress($content) != 'blahblah=blah') {
echo "invalid gzipped content";
} else {
echo "It worked!\n";
}
?>
--EXPECT--
It worked!