- typo
[m6w6/ext-http] / tests / send_file_006.phpt
1 --TEST--
2 http_send_file() syntactically invalid range
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --ENV--
8 HTTP_RANGE=bytes=xxx
9 --FILE--
10 <?php
11 http_send_file('data.txt');
12 ?>
13 --EXPECTF--
14 Content-type: text/html
15 X-Powered-By: PHP/%s
16 Accept-Ranges: bytes
17
18 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
19 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
20 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
21 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
22 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
23 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
24 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
25 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
26 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
27 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789