File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -738,12 +738,6 @@ class HTTP < Protocol
738
738
rescue LoadError
739
739
HAVE_ZLIB = false
740
740
end
741
-
742
- # for backward compatibility until Ruby 3.5
743
- # https://bugs.ruby-lang.org/issues/20900
744
- # https://github.com/bblimke/webmock/pull/1081
745
- HTTPSession = HTTP
746
- deprecate_constant :HTTPSession
747
741
# :startdoc:
748
742
749
743
# Returns +true+; retained for compatibility.
@@ -2565,6 +2559,11 @@ def debug(msg)
2565
2559
alias_method :D , :debug
2566
2560
end
2567
2561
2562
+ # for backward compatibility until Ruby 3.5
2563
+ # https://bugs.ruby-lang.org/issues/20900
2564
+ # https://github.com/bblimke/webmock/pull/1081
2565
+ HTTPSession = HTTP
2566
+ deprecate_constant :HTTPSession
2568
2567
end
2569
2568
2570
2569
require_relative 'http/exceptions'
You can’t perform that action at this time.
0 commit comments