prevent automatic redirection on 302

new enhancement added: now class will not automatically redirect 302.