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

Proposal: Add additional methods to RequestResult #28

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jul 3, 2022

  1. Add additional methods to RequestResult

    - deserialize_body: Deserializes the body without performing checks on status code or content.
    - ensure_status_ignore_body: Checks the status code while ignoring body.
    - expect_status_ignore_body: Checks the status code while ignoring body, panic on failure.
    - ensure_empty_body: Checks that the body is empty.
    - ensure_status_empty_body: Checks the status code and the emptiness of the body.
    - expect_status_empty_body: Checks the status code and the emptiness of the body, panic on failure.
    zdimension committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    69d950f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0fd7cc View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Configuration menu
    Copy the full SHA
    aa8f07a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56728a8 View commit details
    Browse the repository at this point in the history