projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- create a request body only if there's something to feed into http_request_body_fill()
[m6w6/ext-http]
/
tests
/
send_data_009.phpt
1
--TEST--
2
http_send_data() last modified caching
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
checkmax(5.0);
8
?>
9
--FILE--
10
<?php
11
http_cache_last_modified(-5);
12
http_send_data("abc\n");
13
?>
14
--EXPECTF--
15
Content-type: %s
16
X-Powered-By: PHP/%s
17
Cache-Control: private, must-revalidate, max-age=0
18
Last-Modified: %s, %d %s %d %d:%d:%d GMT
19
Accept-Ranges: bytes
20
Content-Length: 4
21
22
abc