- add ob_(deflate|inflate)handler
[m6w6/ext-http] / tests / send_file_004.phpt
index 034c1f9688439a9df83036ecf0106aca1da3c9a6..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,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