prevent automatic redirection on 302
Merge pull request #81 from krishantha-/integration-base

prevent automatic redirection on 302