mirror of
https://github.com/ruby/ruby.git
synced 2026-11-08 01:20:26 +08:00
[ruby/net-http] Net::HTTPResponse nil checking Fix nil handling in read_body and stream_check. Fixes: #70 https://github.com/ruby/net-http/commit/36f916ac18 --- lib/net/http/response.rb | 3 ++- test/net/http/test_httpresponse.rb | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-)