projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- ditch leak when throwing exceptions
[m6w6/ext-http]
/
tests
/
etag_mode_013.phpt
1
--TEST--
2
ob md5 etag
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--FILE--
9
<?php
10
ini_set('http.etag_mode', HTTP_ETAG_MD5);
11
http_cache_etag();
12
print("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
ETag: "0bee89b07a248e27c83fc3d5951213c1"
19
20
abc