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_009.phpt
1
--TEST--
2
http_send_data() last modified caching
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--FILE--
9
<?php
10
http_cache_last_modified(-5);
11
http_send_data("abc\n");
12
?>
13
--EXPECTF--
14
Content-type: text/html
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
20
abc