zoe             Thu Apr 23 20:37:17 2009 UTC

  Added files:                 
    /phpruntests/phpt-tests     sample_deflatepost.phpt 
  Log:
  sample deflate post test
  

http://cvs.php.net/viewvc.cgi/phpruntests/phpt-tests/sample_deflatepost.phpt?view=markup&rev=1.1
Index: phpruntests/phpt-tests/sample_deflatepost.phpt
+++ phpruntests/phpt-tests/sample_deflatepost.phpt
--TEST--
Sample test for DEFLATE_POST
--POST--
blahblah=blah
--DEFLATE_POST--
1
--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!




-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to