mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
HTTPInternalServerError should be error 500. [ruby-core:08037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
94039f0188
commit
2c44e16b13
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jun 22 11:52:02 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
|
||||||
|
HTTPInternalServerError should be error 500. [ruby-core:08037]
|
||||||
|
|
||||||
Thu Jun 22 05:15:58 2006 Tanaka Akira <akr@m17n.org>
|
Thu Jun 22 05:15:58 2006 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (sock_s_socketpair): try GC only once.
|
* ext/socket/socket.c (sock_s_socketpair): try GC only once.
|
||||||
|
|
|
@ -1962,7 +1962,7 @@ module Net #:nodoc:
|
||||||
'416' => HTTPRequestedRangeNotSatisfiable,
|
'416' => HTTPRequestedRangeNotSatisfiable,
|
||||||
'417' => HTTPExpectationFailed,
|
'417' => HTTPExpectationFailed,
|
||||||
|
|
||||||
'501' => HTTPInternalServerError,
|
'500' => HTTPInternalServerError,
|
||||||
'501' => HTTPNotImplemented,
|
'501' => HTTPNotImplemented,
|
||||||
'502' => HTTPBadGateway,
|
'502' => HTTPBadGateway,
|
||||||
'503' => HTTPServiceUnavailable,
|
'503' => HTTPServiceUnavailable,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue