- fix usage of request time
[m6w6/ext-http] / tests / etag_mode_042.phpt
index 68aab73d8c595ebdc5ca04b8f8e9cafba213674b..59d7f42a8bac78149614da094760eed30e791141 100644 (file)
@@ -5,11 +5,10 @@ ob sha1 etag
 include 'skip.inc';
 checkcgi();
 checkmin(5.1);
-skipif(!http_support(HTTP_SUPPORT_MHASHETAGS), 'need mhash support');
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_SHA1);
+ini_set('http.etag.mode', 'SHA1');
 http_cache_etag();
 print("abc\n");
 ?>