- add another stream filter test
[m6w6/ext-http] / tests / send_file_006.phpt
index d3169e8a24dc51d6c80b72bf03a47b828c902a5a..fdca630c34a20e4ca52a94eb1edf80d3ce0ba5b0 100644 (file)
@@ -4,6 +4,7 @@ http_send_file() syntactically invalid range
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --ENV--
 HTTP_RANGE=bytes=xxx
@@ -12,9 +13,10 @@ HTTP_RANGE=bytes=xxx
 http_send_file('data.txt');
 ?>
 --EXPECTF--
-Content-type: text/html
+Content-type: %s
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
+Content-Length: 1010
 
 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789