projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- use way less memory by not duplicating response headers and bodies
[m6w6/ext-http]
/
tests
/
send_file_011.phpt
diff --git
a/tests/send_file_011.phpt
b/tests/send_file_011.phpt
index 5ac521f8229901d100715274375f563c7f0fed35..1012da4784790f7cfcad59b9cf681ad180d3c9ae 100644
(file)
--- a/
tests/send_file_011.phpt
+++ b/
tests/send_file_011.phpt
@@
-6,10
+6,9
@@
include 'skip.inc';
checkcgi();
checkmin(5.1);
?>
checkcgi();
checkmin(5.1);
?>
---ENV--
-HTTP_RANGE=bytes=1000-
--FILE--
<?php
--FILE--
<?php
+$_SERVER['HTTP_RANGE'] = 'bytes=1000- ';
http_send_file('data.txt');
?>
--EXPECTF--
http_send_file('data.txt');
?>
--EXPECTF--