- fix previous commit and adjust tests
[m6w6/ext-http] / tests / send_file_004.phpt
index a9da0b13ddad62896aefec1bb857d06703385312..54c0212043cfe057752edf9b627ea71722414080 100644 (file)
@@ -3,6 +3,7 @@ http_send_file() NUM-NIL range
 --SKIPIF--
 <?php 
 include 'skip.inc';
 --SKIPIF--
 <?php 
 include 'skip.inc';
+checkcgi();
 ?>
 --ENV--
 HTTP_RANGE=bytes=1000-
 ?>
 --ENV--
 HTTP_RANGE=bytes=1000-
@@ -16,5 +17,6 @@ Content-type: text/html
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Range: bytes 1000-1009/1010
 X-Powered-By: PHP/%s
 Accept-Ranges: bytes
 Content-Range: bytes 1000-1009/1010
+Content-Length: 10
 
 123456789
 
 123456789