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 0.18.0
[m6w6/ext-http]
/
tests
/
redirect_002.phpt
diff --git
a/tests/redirect_002.phpt
b/tests/redirect_002.phpt
index e577810b05f5c5d080d778fd6404da74cb043922..29985f3507375eb3f666f36067f5d3f545e70fe3 100644
(file)
--- a/
tests/redirect_002.phpt
+++ b/
tests/redirect_002.phpt
@@
-4,6
+4,7
@@
http_redirect() with session
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmax(5.0);
checkext('session');
?>
--ENV--
checkext('session');
?>
--ENV--
@@
-17,7
+18,7
@@
http_redirect('redirect', array('a' => 1), true);
?>
--EXPECTF--
Status: 302
?>
--EXPECTF--
Status: 302
-Content-type:
text/html
+Content-type:
%s
X-Powered-By: PHP/%s
Set-Cookie: PHPSESSID=%s; path=/
Expires: %s
X-Powered-By: PHP/%s
Set-Cookie: PHPSESSID=%s; path=/
Expires: %s