- fix usage of request time
[m6w6/ext-http] / tests / etag_mode_002.phpt
index 229b22daec3f37ceb4a01313b383eb46828b9ff2..3312f32a8f99ab91c9092192a3d4cd9c3a1ebeb6 100644 (file)
@@ -4,10 +4,11 @@ sha1 etag
 <?php
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_SHA1);
+ini_set('http.etag.mode', 'sha1');
 http_cache_etag();
 http_send_data("abc\n");
 ?>