- extend & fixup test suite
[m6w6/ext-http] / tests / send_file_006.phpt
index 10f170a2f44583b19a4931f831424a8925847875..fdca630c34a20e4ca52a94eb1edf80d3ce0ba5b0 100644 (file)
@@ -4,6 +4,7 @@ http_send_file() syntactically invalid range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=xxx
@@ -12,7 +13,7 @@ HTTP_RANGE=bytes=xxx
 http_send_file('data.txt');
 ?>
 --EXPECTF--
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Length: 1010