projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- prettify header array keys at add time so that check_content_type() works properly
[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
checkmax(5.0);
8
?>
9
--ENV--
10
HTTP_RANGE=bytes=-1111
11
--FILE--
12
<?php
13
http_send_file('data.txt');
14
?>
15
--EXPECTF--
16
Status: 416
17
Content-type: %s
18
X-Powered-By: PHP/%s