205b60ac8dae75c54e69bab4e0f30329f1f4d0be
[m6w6/ext-http] / tests / etag_mode_011.phpt
1 --TEST--
2 ob crc32 etag (may fail because PHPs crc32 is actually crc32b)
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 checkcgi();
7 checkmax(5.0);
8 ?>
9 --FILE--
10 <?php
11 ini_set('http.etag_mode', 'crc32');
12 http_cache_etag();
13 print("abc\n");
14 ?>
15 --EXPECTF--
16 Content-type: %s
17 X-Powered-By: PHP/%s
18 Cache-Control: private, must-revalidate, max-age=0
19 ETag: "4e818847"
20
21 abc