projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix parsing chunked encoded messages with odd spaces after the chunk size
[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
include 'log.inc';
13
log_prepare(_CACHE_LOG);
14
http_cache_etag();
15
http_send_data("abc\n");
16
?>
17
--EXPECTF--
18
Status: 304
19
Content-type: text/html
20
X-Powered-By: PHP/%s
21
Cache-Control: private, must-revalidate, max-age=0
22
%s