- improve response performance
[m6w6/ext-http] / tests / HttpResponse_004.phpt
index 4e6d30c2d77198500cff073074918110ebba4770..ffe26c90671411f4d53d9864ab1644a28a6d7fd4 100644 (file)
@@ -7,10 +7,11 @@ checkcgi();
 checkmin(5.1);
 skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
 ?>
+--ENV--
+HTTP_IF_NONE_MATCH="900150983cd24fb0d6963f7d28e17f72"
+HTTP_ACCEPT_ENCODING=gzip
 --FILE--
 <?php
-$_SERVER["HTTP_IF_NONE_MATCH"] = '"900150983cd24fb0d6963f7d28e17f72"';
-$_SERVER["HTTP_ACCEPT_ENCODING"] = "gzip";
 HttpResponse::setGzip(true);
 HttpResponse::setCache(true);
 HttpResponse::setCacheControl('public', 3600);