projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- add PHP_FUNCTION(http_parse_message) -- http_get() etc would be pretty useless...
[m6w6/ext-http]
/
tests
/
send_file_007.phpt
1
--TEST--
2
http_send_file() oversized range
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--ENV--
9
HTTP_RANGE=bytes=-1111
10
--FILE--
11
<?php
12
http_send_file('data.txt');
13
?>
14
--EXPECTF--
15
Status: 416
16
Content-type: text/html
17
X-Powered-By: PHP/%s