- minimum required curl versions curl-config doesn't understand --features
[m6w6/ext-http] / tests / etag_mode_034.phpt
index f0930adc7332bb8429b8d13ddddc8827aff251bc..bce9e527c883e51f237beab45a0d517e46f36fca 100644 (file)
@@ -9,16 +9,16 @@ 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
 Cache-Control: private, must-revalidate, max-age=0
 Accept-Ranges: bytes
 ETag: "edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb"
 Content-Length: 4
+Content-type: %s
 
 abc