- add ob_(deflate|inflate)handler
[m6w6/ext-http] / tests / etag_mode_001.phpt
index 19223a44dbf0a8b77d056c69951df646f726368b..5acd930792b0ebf4b4f0e9ef2e1e8f6ee28b895c 100644 (file)
@@ -1,13 +1,14 @@
 --TEST--
-crc32 etag
+crc32 etag (may fail because PHPs crc32 is actually crc32b)
 --SKIPIF--
 <?php
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_CRC32);
+ini_set('http.etag_mode', 'crc32');
 http_cache_etag();
 http_send_data("abc\n");
 ?>
@@ -16,7 +17,7 @@ Content-type: %s
 X-Powered-By: PHP/%s
 Cache-Control: private, must-revalidate, max-age=0
 Accept-Ranges: bytes
-ETag: "28ad514e"
+ETag: "4e818847"
 Content-Length: 4
 
 abc