- ws
[m6w6/ext-http] / tests / HttpResponse_004.phpt
index a0f569dfe5c2ec47e62af8d376eab2b80b231c05..e8a1d0f758b05279da903213bec4ed8022100f7c 100644 (file)
@@ -3,9 +3,9 @@ HttpResponse - send cached gzipped data
 --SKIPIF--
 <?php 
 include 'skip.inc';
-checkver(5);
 checkcgi();
-checkext('zlib');
+checkmin(5.1);
+skpif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
 ?>
 --ENV--
 HTTP_ACCEPT_ENCODING=gzip
@@ -20,7 +20,7 @@ HttpResponse::send();
 ?>
 --EXPECTF--
 Status: 304
-Content-type: %s
 X-Powered-By: PHP/%s
-Cache-Control: public, must-revalidate, max_age=3600
+Cache-Control: public, must-revalidate, max-age=3600
 ETag: "80b285463881575891e86ba7bfecb4d0"
+Content-type: %s