- split off files from tutorial.txt into lib/*.php
[m6w6/ext-http] / tests / HttpResponse_002.phpt
index 6f097b18612f11272894752ff54376283ab35fbf..49ad6fa4b44899081548adadd0d7f29440fae85f 100644 (file)
@@ -1,11 +1,11 @@
 --TEST--
 HttpResponse - send gzipped file
 --SKIPIF--
-<?php 
+<?php
 include 'skip.inc';
-checkver(5);
+checkmin(5);
 checkcgi();
-checkext('zlib');
+skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
 ?>
 --ENV--
 HTTP_ACCEPT_ENCODING=gzip
@@ -22,4 +22,4 @@ Accept-Ranges: bytes
 Content-Encoding: gzip
 Vary: Accept-Encoding
 
-%s
\ No newline at end of file
+%s