projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- release .24.1
[m6w6/ext-http]
/
tests
/
send_file_004.phpt
diff --git
a/tests/send_file_004.phpt
b/tests/send_file_004.phpt
index a9da0b13ddad62896aefec1bb857d06703385312..5dcee32221c41927143cc0d478e5c0a0810b746e 100644
(file)
--- a/
tests/send_file_004.phpt
+++ b/
tests/send_file_004.phpt
@@
-3,6
+3,8
@@
http_send_file() NUM-NIL range
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
+checkcgi();
+checkmax(5.0);
?>
--ENV--
HTTP_RANGE=bytes=1000-
?>
--ENV--
HTTP_RANGE=bytes=1000-
@@
-12,9
+14,10
@@
http_send_file('data.txt');
?>
--EXPECTF--
Status: 206
?>
--EXPECTF--
Status: 206
-Content-type:
text/html
+Content-type:
%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
+Content-Length: 10
123456789
123456789