X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2F022_redirect.phpt;fp=tests%2F022_redirect.phpt;h=bd9a23d4be03971c9fa4b381986eb05490297586;hb=abed613e325f2307a01030746fc512405c7c024c;hp=0000000000000000000000000000000000000000;hpb=ad4b13b9d6952c7b5f89c9339bbfab5f88975541;p=m6w6%2Fext-http diff --git a/tests/022_redirect.phpt b/tests/022_redirect.phpt new file mode 100644 index 0000000..bd9a23d --- /dev/null +++ b/tests/022_redirect.phpt @@ -0,0 +1,19 @@ +--TEST-- +http_redirect() permanent +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Status: 301 +Content-type: text/html +X-Powered-By: PHP/%s +Location: http://localhost/redirect + +Redirecting to http://localhost/redirect. +