projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
release 1.6.1
[m6w6/ext-http]
/
tests
/
HttpResponse_001.phpt
diff --git
a/tests/HttpResponse_001.phpt
b/tests/HttpResponse_001.phpt
index 56b1913fa3d8a959956f51d6646f9540abe52514..58fcf213b01f77b9e0bd211ed81463fb3d9e792d 100644
(file)
--- a/
tests/HttpResponse_001.phpt
+++ b/
tests/HttpResponse_001.phpt
@@
-3,7
+3,7
@@
HttpResponse - send data with caching headers
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(
5
);
+checkmin(
"5.2.5"
);
checkcgi();
?>
--FILE--
checkcgi();
?>
--FILE--
@@
-14,12
+14,12
@@
HttpResponse::setData('foobar');
HttpResponse::send();
?>
--EXPECTF--
HttpResponse::send();
?>
--EXPECTF--
-X-Powered-By: PHP/%s
-ETag: "3858f62230ac3c915f300c664312c63f"
+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: "3858f62230ac3c915f300c664312c63f"
Content-Length: 6
foobar
Content-Length: 6
foobar