- toggle debugging flag
[m6w6/ext-http] / tests / send_file_001.phpt
index b2cf8b0000219fe7ea6daa516d85d87668418cce..c10507535a0318fbf361c4dc3e006e42d46a2746 100644 (file)
@@ -3,15 +3,18 @@ http_send_file()
 --SKIPIF--
 <?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