Made sure the headers are not copied back to the request until after redirection