diff options
author | Shishir Joshi <shishir127@users.noreply.github.com> | 2022-06-16 16:46:47 +0530 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-16 23:35:27 +0900 |
commit | c310691dd8087eac5153b3c778ea898dcf387b57 (patch) | |
tree | 3e78e5714158d81659eff2f2fe41ec003cceab98 /lib/fileutils.rb | |
parent | 79eaaf2d0b641710613f16525e4b4c439dfe854e (diff) |
[ruby/net-http] 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
https://github.com/ruby/net-http/commit/0b5030dd86
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
Diffstat (limited to 'lib/fileutils.rb')
0 files changed, 0 insertions, 0 deletions