- extend & fixup test suite
[m6w6/ext-http] / tests / send_file_004.phpt
index a9da0b13ddad62896aefec1bb857d06703385312..5dcee32221c41927143cc0d478e5c0a0810b746e 100644 (file)
@@ -3,6 +3,8 @@ http_send_file() NUM-NIL range
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=1000-
@@ -12,9 +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 1000-1009/1010
+Content-Length: 10
 
 123456789