[ruby/net-http] Fix the typo in a constant name

https://github.com/ruby/net-http/commit/dada6007bf
This commit is contained in:
Nobuyoshi Nakada 2021-11-03 19:17:35 +09:00 committed by Hiroshi SHIBATA
parent 5f2c4e344d
commit b49dbe025f

View File

@ -22,5 +22,9 @@ Net::HTTPRetriableCode = Net::HTTPRedirection
Net::HTTPClientErrorCode = Net::HTTPClientError
Net::HTTPFatalErrorCode = Net::HTTPClientError
Net::HTTPServerErrorCode = Net::HTTPServerError
Net::HTTPResponceReceiver = Net::HTTPResponse
Net::HTTPResponseReceiver = Net::HTTPResponse
module Net
HTTPResponceReceiver = HTTPResponse # Typo since 2001
deprecate_constant :HTTPResponceReceiver
end