projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add missing PHP closing tag
[m6w6/ext-http]
/
tests
/
send_ifrange_003.phpt
diff --git
a/tests/send_ifrange_003.phpt
b/tests/send_ifrange_003.phpt
index 902130f135558422877c1106b822e095020f3f71..e3ea8ea84be46fc72138d94c899814c27a8204c3 100644
(file)
--- a/
tests/send_ifrange_003.phpt
+++ b/
tests/send_ifrange_003.phpt
@@
-4,11
+4,13
@@
http_send() If-Range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmin(5);
?>
?>
+--ENV--
+HTTP_RANGE=bytes=0-1
+HTTP_IF_RANGE="abcd"
--FILE--
<?php
--FILE--
<?php
-$_SERVER['HTTP_RANGE'] = 'bytes=0-1';
-$_SERVER['HTTP_IF_RANGE'] = '"abcd"';
http_cache_etag('abc');
http_send_file(__FILE__);
?>
http_cache_etag('abc');
http_send_file(__FILE__);
?>