projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- no need to check for COMPILE_DL_SESSION
[m6w6/ext-http]
/
tests
/
redirect_002.phpt
diff --git
a/tests/redirect_002.phpt
b/tests/redirect_002.phpt
index 9add4a0b1c3f0809b5967be69431bc881a9da0de..29985f3507375eb3f666f36067f5d3f545e70fe3 100644
(file)
--- a/
tests/redirect_002.phpt
+++ b/
tests/redirect_002.phpt
@@
-4,7
+4,11
@@
http_redirect() with session
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
+checkmax(5.0);
+checkext('session');
?>
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
include 'log.inc';
--FILE--
<?php
include 'log.inc';
@@
-14,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