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

Fix HTTP error handling in RESTClient.Request() method #82

Merged
merged 2 commits into from Oct 14, 2022

Commits on Oct 13, 2022

  1. Fix HTTP error handling in RESTClient.Request() method

    - Ensure that `Request()` calls HandleHTTPError so that any JSON error body properly gets parsed;
    - Ensure that response body is closed after reading the error response.
    mislav committed Oct 13, 2022
    Copy the full SHA
    7030bd8 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. Copy the full SHA
    19b0b80 View commit details
    Browse the repository at this point in the history