http_was_redirected function

http_was_redirected