projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
released 1.7.6
[m6w6/ext-http]
/
tests
/
send_data_007.phpt
1
--TEST--
2
http_send_data() NIL-NIL range
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
checkmin("5.2.5");
8
?>
9
--ENV--
10
HTTP_RANGE=bytes=0-0
11
--FILE--
12
<?php
13
http_send_content_type('text/plain');
14
http_send_data("abc");
15
?>
16
--EXPECTF--
17
Status: 206%s
18
X-Powered-By: PHP/%s
19
Content-Type: text/plain
20
Accept-Ranges: bytes
21
Content-Range: bytes 0-0/3
22
Content-Length: 1
23
24
a