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_007.phpt
diff --git
a/tests/send_file_007.phpt
b/tests/send_file_007.phpt
index 1ee12cca21cb27a3ebbddf0d2d0718a3d2b6eb75..09f11671d416f9b55843e641944253d3584f2fca 100644
(file)
--- a/
tests/send_file_007.phpt
+++ b/
tests/send_file_007.phpt
@@
-4,6
+4,7
@@
http_send_file() NIL-NIL range
<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
--ENV--
HTTP_RANGE=bytes=0-0
@@
-12,7
+13,7
@@
HTTP_RANGE=bytes=0-0
http_send_file('data.txt');
?>
--EXPECTF--
-Status: 206
+Status: 206
%s
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Range: bytes 0-0/1010