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