projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- attempt to fix win32 build
[m6w6/ext-http]
/
tests
/
send_data_003.phpt
diff --git
a/tests/send_data_003.phpt
b/tests/send_data_003.phpt
index 87663fcea9fb376c52176250e61ad50e9e41519d..c13ec8002fae21496b29a1bcc1b8eb67b1d5e75b 100644
(file)
--- a/
tests/send_data_003.phpt
+++ b/
tests/send_data_003.phpt
@@
-5,9
+5,10
@@
http_send_data() NUM-NIL range
include 'skip.inc';
checkcgi();
?>
include 'skip.inc';
checkcgi();
?>
+--ENV--
+HTTP_RANGE=bytes=5981-
--FILE--
<?php
--FILE--
<?php
-$_SERVER['HTTP_RANGE'] = 'bytes=5981-';
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 5981-5999/6000
Content-Length: 19
Content-Range: bytes 5981-5999/6000
Content-Length: 19
-c123abc123abc123abc
\ No newline at end of file
+c123abc123abc123abc