Check the response and redirect status of a URL: