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

Don't parse JSON if status code is not 2xx #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 2, 2021

  1. Don't parse JSON if status code is not 2xx

    Fixes ethanent#61
    
    Prevents parsing body as JSON unless the status code is in the 2xx range to allow 4xx and 5xx errors to propagate without JSON parsing errors
    jdforsythe committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    0b4b2b0 View commit details
    Browse the repository at this point in the history