[PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
These recently added 4xx status classes were inheriting from Net::HTTPSuccess, which seems incorrect.
I believe they should inherit from Net::HTTPClientError, as with all the other 4xx cases.
Note that this change subtly alters/fixes the behavior of these classes since they will now inherit the
EXCEPTION_TYPE = Net::HTTPServerException from Net::HTTPClientError which they would not have had previously. I expect that's disable, but just wanted to flag that.
- lib/net/http/responses.rb: Fix 4xx classes to inherit correctly from Net::HTTPClientError. [Bug #6700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
#3 Updated by knu (Akinori MUSHA) almost 6 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100