projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix build with PHP < 4.3.10
[m6w6/ext-http]
/
tests
/
send_file_007.phpt
diff --git
a/tests/send_file_007.phpt
b/tests/send_file_007.phpt
index 289faf7c1cc45d53506ca44d116a8b6c26ad445d..966129c8fe56b2323c71f8e9ae450098ecd74fbc 100644
(file)
--- a/
tests/send_file_007.phpt
+++ b/
tests/send_file_007.phpt
@@
-3,6
+3,8
@@
http_send_file() oversized range
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
+checkcgi();
+checkmax(5.0);
?>
--ENV--
HTTP_RANGE=bytes=-1111
?>
--ENV--
HTTP_RANGE=bytes=-1111
@@
-12,5
+14,5
@@
http_send_file('data.txt');
?>
--EXPECTF--
Status: 416
?>
--EXPECTF--
Status: 416
-Content-type:
text/html
+Content-type:
%s
X-Powered-By: PHP/%s
X-Powered-By: PHP/%s