projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8c396fb4786ec5ddcabfb770d9b85d2ec1d86d01
[m6w6/ext-http]
/
etag_mode_001.phpt
1
--TEST--
2
crc32 etag
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', HTTP_ETAG_CRC32);
12
http_cache_etag();
13
http_send_data("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
Accept-Ranges: bytes
20
ETag: "4e818847"
21
Content-Length: 4
22
23
abc