- fix previous commit and adjust tests
[m6w6/ext-http] / tests / send_file_002.phpt
index 5abf11878b53427d07ec3fee7d8351aca0f552a5..da87c5ff616e3da3f8482a95b0d07d2096cbdec4 100644 (file)
@@ -3,6 +3,7 @@ http_send_file() NUM-NUM range
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
 ?>
 --ENV--
 HTTP_RANGE=bytes=5-9
@@ -16,5 +17,6 @@ Content-type: text/html
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Range: bytes 5-9/1010
+Content-Length: 5
 
 56789
\ No newline at end of file