projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* Fixed Bug #64310 (weak etags W/"abc" are quoted as "W/"abc"")
[m6w6/ext-http]
/
tests
/
HttpResponse_003.phpt
diff --git
a/tests/HttpResponse_003.phpt
b/tests/HttpResponse_003.phpt
index 22f46749a1e3721e3a063b41f55f3366ed2bc394..e128865e9235d145af65e01347c412041c2e5d74 100644
(file)
--- a/
tests/HttpResponse_003.phpt
+++ b/
tests/HttpResponse_003.phpt
@@
-3,7
+3,7
@@
HttpResponse - send gzipped file with caching headers
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(
5
);
+checkmin(
"5.2.5"
);
checkcgi();
skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
?>
checkcgi();
skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib support");
?>
@@
-18,13
+18,13
@@
HttpResponse::setFile(__FILE__);
HttpResponse::send();
?>
--EXPECTF--
HttpResponse::send();
?>
--EXPECTF--
-X-Powered-By: PHP/%
s
+X-Powered-By: PHP/%
a
Cache-Control: public, must-revalidate, max-age=3600
Cache-Control: public, must-revalidate, max-age=3600
-Last-Modified: %
s, %d %s
20%d %d:%d:%d GMT
-Content-Type: %
s
+Last-Modified: %
a, %d %a
20%d %d:%d:%d GMT
+Content-Type: %
a
Accept-Ranges: bytes
Accept-Ranges: bytes
-ETag: "%
s
"
+ETag: "%
a
"
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Encoding: gzip
Vary: Accept-Encoding
-%
s
+%
a