- extend & fixup test suite
[m6w6/ext-http] / tests / send_file_002.phpt
index da87c5ff616e3da3f8482a95b0d07d2096cbdec4..1bcd07d70b6e2ee3ce6871e3971f9d2737ebedb4 100644 (file)
@@ -4,6 +4,7 @@ http_send_file() NUM-NUM range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=5-9
@@ -13,10 +14,10 @@ http_send_file('data.txt');
 ?>
 --EXPECTF--
 Status: 206
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Range: bytes 5-9/1010
 Content-Length: 5
 
-56789
\ No newline at end of file
+56789