projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.6.1
[m6w6/ext-http]
/
tests
/
send_data_003.phpt
diff --git
a/tests/send_data_003.phpt
b/tests/send_data_003.phpt
index be7d70b75b6b7e1fcb43b3b55ab2f31906b97015..f47c38d8f5bed5bd2b32ac552c57179a6de864c1 100644
(file)
--- a/
tests/send_data_003.phpt
+++ b/
tests/send_data_003.phpt
@@
-4,6
+4,7
@@
http_send_data() NUM-NIL range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
--ENV--
HTTP_RANGE=bytes=5981-
?>
--ENV--
HTTP_RANGE=bytes=5981-
@@
-13,10
+14,11
@@
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
-Status: 206
+Status: 206
%s
X-Powered-By: PHP/%s
Content-Type: text/plain
Accept-Ranges: bytes
Content-Range: bytes 5981-5999/6000
X-Powered-By: PHP/%s
Content-Type: text/plain
Accept-Ranges: bytes
Content-Range: bytes 5981-5999/6000
+Content-Length: 19
-c123abc123abc123abc
\ No newline at end of file
+c123abc123abc123abc