- improve response performance
[m6w6/ext-http] / tests / send_file_003.phpt
index 9e3986b34b1c88c92f5c803f817b73c29fe9b5a5..8a17f58492265326fa07ee809d193e8db599c066 100644 (file)
@@ -4,6 +4,7 @@ http_send_file() NIL-NUM range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=-9
@@ -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 1001-1009/1010