- extend & fixup test suite
[m6w6/ext-http] / tests / redirect_001.phpt
index d4e7bbd7a778e8bb5ac83fbba9039c6e3bfacef9..f85d98f4d70caacb00aafd335af18829c28da193 100644 (file)
@@ -4,6 +4,7 @@ http_redirect() with params
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_HOST=localhost
@@ -15,7 +16,7 @@ http_redirect('redirect', array('a' => 1, 'b' => 2));
 ?>
 --EXPECTF--
 Status: 302
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Location: http://localhost/redirect?a=1&b=2