- extend & fixup test suite
[m6w6/ext-http] / tests / send_file_004.phpt
index 54c0212043cfe057752edf9b627ea71722414080..5dcee32221c41927143cc0d478e5c0a0810b746e 100644 (file)
@@ -4,6 +4,7 @@ http_send_file() NUM-NIL range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=1000-
@@ -13,7 +14,7 @@ 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 1000-1009/1010