projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_1_4_1'.
[m6w6/ext-http]
/
tests
/
send_data_002.phpt
diff --git
a/tests/send_data_002.phpt
b/tests/send_data_002.phpt
index 4e8f07beda4c6a6ad9bb207b6864cdd961bce8df..af7e866601a320177659cf0aa14313ff3c3eb616 100644
(file)
--- a/
tests/send_data_002.phpt
+++ b/
tests/send_data_002.phpt
@@
-5,9
+5,10
@@
http_send_data() NUM-NUM range
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
+--ENV--
+HTTP_RANGE=bytes=5-6
--FILE--
<?php
--FILE--
<?php
-$_SERVER['HTTP_RANGE'] = 'bytes=5-6';
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));
?>
@@
-19,4
+20,4
@@
Accept-Ranges: bytes
Content-Range: bytes 5-6/6000
Content-Length: 2
Content-Range: bytes 5-6/6000
Content-Length: 2
-c1
\ No newline at end of file
+c1