prevent automatic redirection on 302