projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix PHP4 build (has no only_exceptions INI setting
[m6w6/ext-http]
/
tests
/
send_data_002.phpt
1
--TEST--
2
http_send_data() NUM-NUM range
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--ENV--
9
HTTP_RANGE=bytes=5-6
10
--FILE--
11
<?php
12
http_send_content_type('text/plain');
13
http_send_data(str_repeat('123abc', 1000));
14
?>
15
--EXPECTF--
16
Status: 206
17
X-Powered-By: PHP/%s
18
Content-Type: text/plain
19
Accept-Ranges: bytes
20
Content-Range: bytes 5-6/6000
21
22
c1