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_007.phpt
1
--TEST--
2
http_send_data() etag caching
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--ENV--
9
HTTP_IF_NONE_MATCH="0bee89b07a248e27c83fc3d5951213c1"
10
--FILE--
11
<?php
12
http_cache_etag();
13
http_send_data("abc\n");
14
?>
15
--EXPECTF--
16
Status: 304
17
Content-type: text/html
18
X-Powered-By: PHP/%s
19
Cache-Control: private, must-revalidate, max-age=0
20
%s