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