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_005.phpt
diff --git
a/tests/send_file_005.phpt
b/tests/send_file_005.phpt
index d6705ea1f3101cddbf882c2a6b7accd4625c8a9b..b5287a37ac609cbd7dbf2ed1f5c6529abd51c286 100644
(file)
--- a/
tests/send_file_005.phpt
+++ b/
tests/send_file_005.phpt
@@
-5,10
+5,9
@@
http_send_file() multiple ranges
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
---ENV--
-HTTP_RANGE=bytes=0-3, 4-5,9-11
--FILE--
<?php
--FILE--
<?php
+$_SERVER['HTTP_RANGE'] = 'bytes=0-3, 4-5,9-11';
http_send_content_type('text/plain');
http_send_file('data.txt');
?>
http_send_content_type('text/plain');
http_send_file('data.txt');
?>