branch off v1 as R_1_7
[m6w6/ext-http] / tests / etag_mode_034.phpt
index f0930adc7332bb8429b8d13ddddc8827aff251bc..f97bda931c6221dd1697afc347ce6da9c4f3a40c 100644 (file)
@@ -4,21 +4,21 @@ ext/hash etag
 <?php
 include 'skip.inc';
 checkcgi();
-checkmin(5.1);
+checkmin("5.2.5");
 skipif(!extension_loaded('hash'), 'need ext/hash support');
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', 'sha256');
+ini_set('http.etag.mode', 'sha256');
 http_cache_etag();
 http_send_data("abc\n");
 ?>
 --EXPECTF--
-Content-type: %s
-X-Powered-By: PHP/%s
+X-Powered-By: PHP/%a
 Cache-Control: private, must-revalidate, max-age=0
 Accept-Ranges: bytes
 ETag: "edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb"
 Content-Length: 4
+Content-type: %a
 
 abc