projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_5_6'.
[m6w6/ext-http]
/
tests
/
send_file_011.phpt
1
--TEST--
2
http_send_file() NUM-NIL range
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
checkmin(5.1);
8
?>
9
--ENV--
10
HTTP_RANGE=bytes=1000-
11
--FILE--
12
<?php
13
http_send_file('data.txt');
14
?>
15
--EXPECTF--
16
Status: 206
17
X-Powered-By: PHP/%s
18
Accept-Ranges: bytes
19
Content-Range: bytes 1000-1009/1010
20
Content-Length: 10
21
Content-type: %s
22
23
123456789