projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- examples fixup
[m6w6/ext-http]
/
tests
/
etag_mode_012.phpt
1
--TEST--
2
ob sha1 etag
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
checkcgi();
7
?>
8
--FILE--
9
<?php
10
ini_set('http.etag_mode', HTTP_ETAG_SHA1);
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: "03cfd743661f07975fa2f1220c5194cbaff48451"
19
20
abc