- split off files from tutorial.txt into lib/*.php
[m6w6/ext-http] / tests / HttpResponse_002.phpt
index 72c22bcd574096a1e294e4503219e8e90a4bd585..49ad6fa4b44899081548adadd0d7f29440fae85f 100644 (file)
@@ -5,7 +5,7 @@ HttpResponse - send gzipped file
 include 'skip.inc';
 checkmin(5);
 checkcgi();
-checkext('zlib');
+skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
 ?>
 --ENV--
 HTTP_ACCEPT_ENCODING=gzip