[ruby/net-http] Need to restore under the Net namespace
https://github.com/ruby/net-http/commit/4650f86981
This commit is contained in:
parent
811dfa7cb7
commit
716ea630db
@ -738,12 +738,6 @@ module Net #:nodoc:
|
||||
rescue LoadError
|
||||
HAVE_ZLIB=false
|
||||
end
|
||||
|
||||
# for backward compatibility until Ruby 3.5
|
||||
# https://bugs.ruby-lang.org/issues/20900
|
||||
# https://github.com/bblimke/webmock/pull/1081
|
||||
HTTPSession = HTTP
|
||||
deprecate_constant :HTTPSession
|
||||
# :startdoc:
|
||||
|
||||
# Returns +true+; retained for compatibility.
|
||||
@ -2565,6 +2559,11 @@ module Net #:nodoc:
|
||||
alias_method :D, :debug
|
||||
end
|
||||
|
||||
# for backward compatibility until Ruby 3.5
|
||||
# https://bugs.ruby-lang.org/issues/20900
|
||||
# https://github.com/bblimke/webmock/pull/1081
|
||||
HTTPSession = HTTP
|
||||
deprecate_constant :HTTPSession
|
||||
end
|
||||
|
||||
require_relative 'http/exceptions'
|
||||
|
Loading…
x
Reference in New Issue
Block a user