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

Add HTTP#force_response_body_encoding for forcing response body encoding #17

Merged

Commits on Mar 9, 2021

  1. Add HTTP#force_response_body_encoding for forcing response body encoding

    This allows for the ability to opt-in to a method to force the
    encoding of response bodies.  By setting the accessor to a String
    or Encoding instance, it will force the specified encoding.
    Setting the value of true will try to detect the encoding of the
    response body, either using the Content-Type header (assuming it
    specifies charset) or by scanning for a <meta> tag in the document
    that specifies the encoding.  The default is false in which case
    no forcing of encoding will be done (same as before the patch).
    
    Implements [Feature #2567]
    Implements [Feature #15517]
    
    Co-authored-by: Yui Naruse <naruse@ruby-lang.org>
    jeremyevans and nurse committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    5188c7b View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Configuration menu
    Copy the full SHA
    32f53b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c571a31 View commit details
    Browse the repository at this point in the history