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 test file to package.xml
[m6w6/ext-http]
/
tests
/
send_data_008.phpt
diff --git
a/tests/send_data_008.phpt
b/tests/send_data_008.phpt
index 7de621d9c946f8cd1d278286b7634dee0d2b8a23..3a695636cb7601c2b94cf45d5801d95e43f9b0b4 100644
(file)
--- a/
tests/send_data_008.phpt
+++ b/
tests/send_data_008.phpt
@@
-4,6
+4,7
@@
http_send_data() multiple ranges
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
--ENV--
HTTP_RANGE=bytes=0-0,-1
?>
--ENV--
HTTP_RANGE=bytes=0-0,-1
@@
-13,7
+14,7
@@
http_send_content_type('text/plain');
http_send_data("01");
?>
--EXPECTF--
http_send_data("01");
?>
--EXPECTF--
-Status: 206
+Status: 206
%s
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Type: multipart/byteranges; boundary=%d.%d
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Type: multipart/byteranges; boundary=%d.%d