5c77db4ca3160cec72602ca5af15c90e0a41c532
[m6w6/ext-http] / tests / etag_mode_042.phpt
1 --TEST--
2 ob sha1 etag
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 checkmin(5.1);
8 ?>
9 --FILE--
10 <?php
11 ini_set('http.etag_mode', 'SHA1');
12 http_cache_etag();
13 print("abc\n");
14 ?>
15 --EXPECTF--
16 X-Powered-By: PHP/%s
17 Cache-Control: private, must-revalidate, max-age=0
18 ETag: "03cfd743661f07975fa2f1220c5194cbaff48451"
19 Content-type: %s
20
21 abc