do not clear headers when redirecting, other headers might need to get there to update client. reuse of code.