235225db5386cbd03b9e8a2e5045762dd7c4c341
[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