X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fredirect_012.phpt;fp=tests%2Fredirect_012.phpt;h=1d48ae58ed56cd91063877abdd9503517f69cfcd;hb=96d059e9210a6677427392d615bc42ab38b3b432;hp=0000000000000000000000000000000000000000;hpb=5f7061a515a21abec1cf742f25a68967516e21cb;p=m6w6%2Fext-http diff --git a/tests/redirect_012.phpt b/tests/redirect_012.phpt new file mode 100644 index 0000000..1d48ae5 --- /dev/null +++ b/tests/redirect_012.phpt @@ -0,0 +1,27 @@ +--TEST-- +http_redirect() with session +--SKIPIF-- + +--ENV-- +HTTP_HOST=localhost +--FILE-- + 1), true); +?> +--EXPECTF-- +Status: 302 +X-Powered-By: PHP/%s +Set-Cookie: PHPSESSID=%s; path=/ +Expires: %s +Cache-Control: %s +Pragma: %s +Location: http://localhost/redirect?a=1&PHPSESSID=%s +Content-type: %s