projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ensure we have string zvals in http_request_body_fill()
[m6w6/ext-http]
/
tests
/
send_file_003.phpt
diff --git
a/tests/send_file_003.phpt
b/tests/send_file_003.phpt
index 9e3986b34b1c88c92f5c803f817b73c29fe9b5a5..8a17f58492265326fa07ee809d193e8db599c066 100644
(file)
--- a/
tests/send_file_003.phpt
+++ b/
tests/send_file_003.phpt
@@
-4,6
+4,7
@@
http_send_file() NIL-NUM range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmax(5.0);
?>
--ENV--
HTTP_RANGE=bytes=-9
?>
--ENV--
HTTP_RANGE=bytes=-9
@@
-13,7
+14,7
@@
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 1001-1009/1010
X-Powered-By: PHP/%s
Accept-Ranges: bytes
Content-Range: bytes 1001-1009/1010