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 caching bug, thankt to rrichards
[m6w6/ext-http]
/
tests
/
send_data_005.phpt
diff --git
a/tests/send_data_005.phpt
b/tests/send_data_005.phpt
index 286c7e996896dbec3a0cde16a4a07e50282a87cf..c373b105fb0d4326463e36e6b7b61b0001c76298 100644
(file)
--- a/
tests/send_data_005.phpt
+++ b/
tests/send_data_005.phpt
@@
-4,13
+4,14
@@
http_send_data() oversized range
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmin("5.2.5");
?>
?>
+--ENV--
+HTTP_RANGE=bytes=5990-6000
--FILE--
<?php
--FILE--
<?php
-$_SERVER['HTTP_RANGE'] = 'bytes=5990-6000';
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>
--EXPECTF--
-Status: 416
-%s
\ No newline at end of file
+Status: 416%a
\ No newline at end of file