- improve response performance
[m6w6/ext-http] / tests / send_file_003.phpt
index 7aa8b49f442c93d65dccb32d6eb7534e5d97193e..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,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 1001-1009/1010
+Content-Length: 9
 
 23456789