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

BodyDecoded() for request and responses #1308

Merged
merged 2 commits into from Jun 6, 2022

Commits on Jun 5, 2022

  1. header.go ContentEncoding() getter and setters

    For Response the CE header is stored into a separate field because compressed responses are often used.
    But for the Request let's just peek and store it from headers map
    stokito committed Jun 5, 2022
    Copy the full SHA
    70ad382 View commit details
    Browse the repository at this point in the history
  2. http.go: New BodyUncompressed() method for request and responses

    The new method returns a body and uncompress if it's gzipped
    stokito committed Jun 5, 2022
    Copy the full SHA
    5de84c3 View commit details
    Browse the repository at this point in the history