From 2c44e16b13b68efd66fe895dbca840dbb786d2c1 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 22 Jun 2006 02:54:39 +0000 Subject: * 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 --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/net/http.rb b/lib/net/http.rb index 3f05d81073..43ef6e1ad3 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1962,7 +1962,7 @@ module Net #:nodoc: '416' => HTTPRequestedRangeNotSatisfiable, '417' => HTTPExpectationFailed, - '501' => HTTPInternalServerError, + '500' => HTTPInternalServerError, '501' => HTTPNotImplemented, '502' => HTTPBadGateway, '503' => HTTPServiceUnavailable, -- cgit v1.2.3