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_file_011.phpt
diff --git
a/tests/send_file_011.phpt
b/tests/send_file_011.phpt
index df6ec6021ac6d066fbac685e9b9f308c1b8aa141..8444a7d1f0d78596f976d69bf2215a2db14d9192 100644
(file)
--- a/
tests/send_file_011.phpt
+++ b/
tests/send_file_011.phpt
@@
-4,7
+4,7
@@
http_send_file() NUM-NIL range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(
5.1
);
+checkmin(
"5.2.5"
);
?>
--ENV--
HTTP_RANGE=bytes=1000-
?>
--ENV--
HTTP_RANGE=bytes=1000-
@@
-13,7
+13,7
@@
HTTP_RANGE=bytes=1000-
http_send_file('data.txt');
?>
--EXPECTF--
http_send_file('data.txt');
?>
--EXPECTF--
-Status: 206
+Status: 206
%s
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Range: bytes 1000-1009/1010
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Range: bytes 1000-1009/1010