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_data_005.phpt
diff --git
a/tests/send_data_005.phpt
b/tests/send_data_005.phpt
index af4b0eeb180e88326c6a9e22c89fd95ece08c000..286c7e996896dbec3a0cde16a4a07e50282a87cf 100644
(file)
--- a/
tests/send_data_005.phpt
+++ b/
tests/send_data_005.phpt
@@
-3,11
+3,11
@@
http_send_data() oversized range
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
+checkcgi();
?>
?>
---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));
?>
http_send_content_type('text/plain');
http_send_data(str_repeat('123abc', 1000));
?>