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

Conversation

nobu
Copy link
Member

@nobu nobu commented Jun 16, 2022

  • 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

* 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>
@nobu nobu merged commit 196f3d7 into ruby:master Jun 16, 2022
@nobu nobu deleted the unknown-content-range-unit branch June 16, 2022 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants