Try to handle 307 redirections