* renaming tests
[m6w6/ext-http] / tests / send_file_002.phpt
1 --TEST--
2 http_send_file() NUM-NUM range
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --ENV--
8 HTTP_RANGE=bytes=5-9
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 5-9/1010
19
20 56789