Fix http status code
Fix redirect & basic authentication status code
Merge pull request #9 from crocos/feature/fix-http-status-code

Fix HTTP Status Code