- extend & fixup test suite
[m6w6/ext-http] / tests / send_file_001.phpt
index 0455bf44670bad31fc2b5167ea019230a9bd1309..c10507535a0318fbf361c4dc3e006e42d46a2746 100644 (file)
@@ -4,15 +4,17 @@ http_send_file()
 <?php 
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --FILE--
 <?php
 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