This allows for handling redirections other then 302