diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-22 02:54:39 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-22 02:54:39 +0000 |
| commit | b8f3b7e985b098e5241b4cc368a952967404e253 (patch) | |
| tree | 8b0e71eb31fc949a6fcde44d6fcfdbfc207c5f00 /lib/net | |
| parent | 444e15eddeb1b178fdb6dfc0ba949ea76a541c77 (diff) | |
| download | ruby-b8f3b7e985b098e5241b4cc368a952967404e253.tar.gz ruby-b8f3b7e985b098e5241b4cc368a952967404e253.tar.xz ruby-b8f3b7e985b098e5241b4cc368a952967404e253.zip | |
* lib/net/http.rb (Net::HTTPResponse): duplicated error 501;
HTTPInternalServerError should be error 500. [ruby-core:08037]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 3f05d8107..43ef6e1ad 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, |
