Correctly handles a HTTP 302 Redirect