Closed nikolai-b closed 7 years ago
Since at least ruby 2.0.0 Net::HTTPServerError requires 3 arguments https://github.com/ruby/ruby/blob/v2_0_0_0/lib/net/http/response.rb#L75 The first one being http_version which response has https://github.com/ruby/ruby/blob/ruby_2_0_0/lib/net/http/response.rb#L87
http_version
Thanks for the pull request @nikolai-b! This looks good to me.
This has been released as version 1.3.2
1.3.2
Since at least ruby 2.0.0 Net::HTTPServerError requires 3 arguments https://github.com/ruby/ruby/blob/v2_0_0_0/lib/net/http/response.rb#L75 The first one being
http_version
which response has https://github.com/ruby/ruby/blob/ruby_2_0_0/lib/net/http/response.rb#L87