projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* renaming tests
[m6w6/ext-http]
/
tests
/
send_file_007.phpt
diff --git a/tests/send_file_007.phpt
b/tests/send_file_007.phpt
new file mode 100644
(file)
index 0000000..
289faf7
--- /dev/null
+++ b/
tests/send_file_007.phpt
@@ -0,0
+1,16
@@
+--TEST--
+http_send_file() oversized range
+--SKIPIF--
+<?php
+include 'skip.inc';
+?>
+--ENV--
+HTTP_RANGE=bytes=-1111
+--FILE--
+<?php
+http_send_file('data.txt');
+?>
+--EXPECTF--
+Status: 416
+Content-type: text/html
+X-Powered-By: PHP/%s