a9da0b13ddad62896aefec1bb857d06703385312
[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 ?>
7 --ENV--
8 HTTP_RANGE=bytes=1000-
9 --FILE--
10 <?php
11 http_send_file('data.txt');
12 ?>
13 --EXPECTF--
14 Status: 206
15 Content-type: text/html
16 X-Powered-By: PHP/%s
17 Accept-Ranges: bytes
18 Content-Range: bytes 1000-1009/1010
19
20 123456789