projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
upgrade test suite to 5.3
[m6w6/ext-http]
/
tests
/
HttpResponse_002.phpt
diff --git
a/tests/HttpResponse_002.phpt
b/tests/HttpResponse_002.phpt
index 49ad6fa4b44899081548adadd0d7f29440fae85f..584f4a78e9b5ac3498bd9f4026f47fc9a5a337fa 100644
(file)
--- a/
tests/HttpResponse_002.phpt
+++ b/
tests/HttpResponse_002.phpt
@@
-3,7
+3,7
@@
HttpResponse - send gzipped file
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(5);
+checkmin(5
.3
);
checkcgi();
skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
?>
checkcgi();
skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
?>
@@
-16,10
+16,10
@@
HttpResponse::setFile(__FILE__);
HttpResponse::send();
?>
--EXPECTF--
HttpResponse::send();
?>
--EXPECTF--
-X-Powered-By: PHP/%
s
-Content-Type: %
s
+X-Powered-By: PHP/%
a
+Content-Type: %
a
Accept-Ranges: bytes
Content-Encoding: gzip
Vary: Accept-Encoding
Accept-Ranges: bytes
Content-Encoding: gzip
Vary: Accept-Encoding
-%
s
+%
a