Conversation
Fix nil handling in read_body and stream_check. Fixes: ruby#70
|
@nobu or @jeremyevans what do you think? The tests pass locally. Just improving error handling. |
|
The |
|
@jeremyevans if It's notable that if you do a head request now, There is a lot of Ruby built-in support for dealing with nils ( If it's to return an empty string, it'd be good to make sure that the string is not frozen, just to be consistent with the string returned if the body exists. You never know who depends on that value being modifiable. |
|
@jeremyevans and @nurse what do I need to do to get this moving forward? Should I split the |
|
@BrianHawley I don't think there is more you can do. @hsbt @nobu Can either of you review/merge this? |
|
Can this get merged in time to get it into Ruby 3.3? I made sure to make the PR in time for it to get into Ruby 3.2. Attn: @hsbt, @nobu, @nurse, @jeremyevans. |
Fix nil handling in read_body and stream_check.
Fixes: #70