diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http/responses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http/responses.rb b/lib/net/http/responses.rb index 55ae97d95d..50352032df 100644 --- a/lib/net/http/responses.rb +++ b/lib/net/http/responses.rb @@ -19,7 +19,7 @@ class Net::HTTPRedirection < Net::HTTPResponse # 3xx end class Net::HTTPClientError < Net::HTTPResponse # 4xx HAS_BODY = true - EXCEPTION_TYPE = Net::HTTPServerException # for backward compatibility + EXCEPTION_TYPE = Net::HTTPClientException # for backward compatibility end class Net::HTTPServerError < Net::HTTPResponse # 5xx HAS_BODY = true |