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

option for nodes.HttpRequest to fail on http status codes #122

Open
feenes opened this issue Dec 12, 2019 · 0 comments
Open

option for nodes.HttpRequest to fail on http status codes #122

feenes opened this issue Dec 12, 2019 · 0 comments

Comments

@feenes
Copy link
Collaborator

feenes commented Dec 12, 2019

At the moment HttpRequest just returns the output (http.text) even if there is an unexpexted status code.

Suggestion to fail on 5xx by default
add options to fail on 4xx or any other status code

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

No branches or pull requests

1 participant