projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- consistent usage of HTTP_G macro (only)
[m6w6/ext-http]
/
tests
/
send_data_001.phpt
diff --git
a/tests/send_data_001.phpt
b/tests/send_data_001.phpt
index 210f68d4fbcf2ab7faf0a814270f6104a10b0fd7..1cc00de3e6112dc05adf31f88b906ff6e604a7f5 100644
(file)
--- a/
tests/send_data_001.phpt
+++ b/
tests/send_data_001.phpt
@@
-5,10
+5,9
@@
http_send_data() NIL-NUM range
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
---ENV--
-HTTP_RANGE=bytes=-5
--FILE--
<?php
--FILE--
<?php
+$_SERVER['HTTP_RANGE'] = 'bytes=-5';
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>