projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ws
[m6w6/ext-http]
/
tests
/
HttpResponse_004.phpt
diff --git
a/tests/HttpResponse_004.phpt
b/tests/HttpResponse_004.phpt
index ed198d638311ca43f55705b40605ca653a8612f5..e8a1d0f758b05279da903213bec4ed8022100f7c 100644
(file)
--- a/
tests/HttpResponse_004.phpt
+++ b/
tests/HttpResponse_004.phpt
@@
-3,9
+3,9
@@
HttpResponse - send cached gzipped data
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkver(5);
checkcgi();
checkcgi();
-checkext('zlib');
+checkmin(5.1);
+skpif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
?>
--ENV--
HTTP_ACCEPT_ENCODING=gzip
?>
--ENV--
HTTP_ACCEPT_ENCODING=gzip
@@
-20,7
+20,7
@@
HttpResponse::send();
?>
--EXPECTF--
Status: 304
?>
--EXPECTF--
Status: 304
-Content-type: text/html
-X-Powered-By: PHP/5.1.0RC2-dev
-Cache-Control: public, must-revalidate, max_age=3600
+X-Powered-By: PHP/%s
+Cache-Control: public, must-revalidate, max-age=3600
ETag: "80b285463881575891e86ba7bfecb4d0"
ETag: "80b285463881575891e86ba7bfecb4d0"
+Content-type: %s