projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add test file to package.xml
[m6w6/ext-http]
/
tests
/
HttpResponse_001.phpt
diff --git
a/tests/HttpResponse_001.phpt
b/tests/HttpResponse_001.phpt
index 21db4588423de6a6f1fe04d9f03c4fcad71c4d60..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,10
+14,10
@@
HttpResponse::setData('foobar');
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
ETag: "3858f62230ac3c915f300c664312c63f"
Content-Length: 6
Accept-Ranges: bytes
ETag: "3858f62230ac3c915f300c664312c63f"
Content-Length: 6