034c1f9688439a9df83036ecf0106aca1da3c9a6
[m6w6/ext-http] / tests / send_file_004.phpt
1 --TEST--
2 http_send_file() NUM-NIL range
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 ?>
8 --ENV--
9 HTTP_RANGE=bytes=1000-
10 --FILE--
11 <?php
12 http_send_file('data.txt');
13 ?>
14 --EXPECTF--
15 Status: 206
16 Content-type: text/html
17 X-Powered-By: PHP/%s
18 Accept-Ranges: bytes
19 Content-Range: bytes 1000-1009/1010
20
21 123456789