- add ob_(deflate|inflate)handler
[m6w6/ext-http] / tests / redirect_002.phpt
index 9add4a0b1c3f0809b5967be69431bc881a9da0de..29985f3507375eb3f666f36067f5d3f545e70fe3 100644 (file)
@@ -4,7 +4,11 @@ http_redirect() with session
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
+checkext('session');
 ?>
+--ENV--
+HTTP_HOST=localhost
 --FILE--
 <?php
 include 'log.inc';
@@ -14,7 +18,7 @@ http_redirect('redirect', array('a' => 1), true);
 ?>
 --EXPECTF--
 Status: 302
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Set-Cookie: PHPSESSID=%s; path=/
 Expires: %s