diff options
| author | Shishir Joshi <shishir127@users.noreply.github.com> | 2022-06-16 16:46:47 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-16 20:16:47 +0900 |
| commit | 63546bfc1581d4abec2a0d846106a1c0afc0efa9 (patch) | |
| tree | 11082baf1359d2775f68710b5a7b2c3aa2f7b24a /include/ruby/thread_native.h | |
| parent | 8ef312fc5bfa9c585a917dc006eeb7f2cad1b73f (diff) | |
HTTPHeader.content_range throws error on non-byte units
* Added a nil check in Net::HTTPHeader#initialize_http_header for keys in the header that do not have any value
* Returning nil from the content_range method instead of raising an error when the unit in the content-range header is not bytes
* Modified initialize_http_header to match trunk
fix [Bug #11450]
fix https://github.com/ruby/ruby/pull/1018
Notes
Notes:
Merged-By: nurse <naruse@airemix.jp>
Diffstat (limited to 'include/ruby/thread_native.h')
0 files changed, 0 insertions, 0 deletions
