Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle failed authentication (401 response code) #4

Open
mikecmpbll opened this issue Nov 10, 2015 · 1 comment
Open

Handle failed authentication (401 response code) #4

mikecmpbll opened this issue Nov 10, 2015 · 1 comment

Comments

@mikecmpbll
Copy link
Member

At the moment it just tries to parse the empty response body, ignoring the 401 response code, making it difficult to tell that it is an authentication error.

Should handle different response codes accordingly, before looking at the response body.

@enigmatt-pl
Copy link

Any preferences regarding the handling? Or should it just respond with the error code, description and stack trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants