- tests fixup
[m6w6/ext-http] / tests / send_file_001.phpt
index b2cf8b0000219fe7ea6daa516d85d87668418cce..c4b2af54aa974225a869d13356b197b2ca751910 100644 (file)
@@ -3,6 +3,7 @@ http_send_file()
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
 ?>
 --FILE--
 <?php
@@ -12,6 +13,7 @@ http_send_file('data.txt');
 Content-type: text/html
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
+Content-Length: 1010
 
 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789