projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
229b22daec3f37ceb4a01313b383eb46828b9ff2
[m6w6/ext-http]
/
tests
/
etag_mode_002.phpt
1
--TEST--
2
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
http_send_data("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
Accept-Ranges: bytes
19
ETag: "03cfd743661f07975fa2f1220c5194cbaff48451"
20
Content-Length: 4
21
22
abc