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

Make Net::HTTPHeader#content_range return nil on non-byte units #63

Merged
merged 1 commit into from
Jun 16, 2022

Commits on Jun 16, 2022

  1. Make Net::HTTPHeader#content_range return nil on non-byte units

    * Returning nil from the `content_range` method instead of raising an
      error when the unit in the content-range header is not "bytes".
    
    Fix https://bugs.ruby-lang.org/issues/11450
    
    Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
    shishir127 and nobu committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    0b5030d View commit details
    Browse the repository at this point in the history