X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2FHttpResponse_003.phpt;h=22f46749a1e3721e3a063b41f55f3366ed2bc394;hp=960c0c5814b6dce177a49cf4bcc7c67d36fdd43a;hb=e29a410679b63b8f96b6890d1418f39d9ed489cc;hpb=96d059e9210a6677427392d615bc42ab38b3b432 diff --git a/tests/HttpResponse_003.phpt b/tests/HttpResponse_003.phpt index 960c0c5..22f4674 100644 --- a/tests/HttpResponse_003.phpt +++ b/tests/HttpResponse_003.phpt @@ -5,7 +5,7 @@ HttpResponse - send gzipped file with caching headers include 'skip.inc'; checkmin(5); checkcgi(); -checkext('zlib'); +skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support"); ?> --ENV-- HTTP_ACCEPT_ENCODING=gzip @@ -19,11 +19,11 @@ HttpResponse::send(); ?> --EXPECTF-- X-Powered-By: PHP/%s -ETag: "%s" Cache-Control: public, must-revalidate, max-age=3600 Last-Modified: %s, %d %s 20%d %d:%d:%d GMT Content-Type: %s Accept-Ranges: bytes +ETag: "%s" Content-Encoding: gzip Vary: Accept-Encoding