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 status codes other than 200 in urlfetch #1140

Merged
merged 4 commits into from
Jan 24, 2021

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Jan 24, 2021

Pull request checklist:

  • CHANGELOG.md was updated, if applicable
  • Documentation in docs/ or install-docs/ was updated, if applicable

In the error handling I have decided to inspect the content type before accepting the body, however this wasn't added for the 200-codes since that could potentially break a lot of implementations and that's not what I'm looking to do with this PR.

@pajlada pajlada merged commit 9babc7c into master Jan 24, 2021
@pajlada pajlada deleted the feature/urlfetch-handle-errors branch January 24, 2021 14:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants