Commit 41bacfb
committed
Raise a valid error
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#L871 parent f603b98 commit 41bacfb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments