mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http/responses.rb: Added 308 status to CODE_TO_OBJ list.
[fix GH-961] Patch by @billinghamj git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc2eb0c653
commit
ea67287ac1
2 changed files with 6 additions and 0 deletions
|
@ -231,6 +231,7 @@ class Net::HTTPResponse
|
|||
'304' => Net::HTTPNotModified,
|
||||
'305' => Net::HTTPUseProxy,
|
||||
'307' => Net::HTTPTemporaryRedirect,
|
||||
'308' => Net::HTTPPermanentRedirect,
|
||||
|
||||
'400' => Net::HTTPBadRequest,
|
||||
'401' => Net::HTTPUnauthorized,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue