mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to
fix backwards-compatibility with ancient Net::HTTP. [Bug #6889] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ba475e4415
commit
d212a89c38
2 changed files with 9 additions and 1 deletions
|
@ -4,7 +4,10 @@
|
|||
|
||||
class Net::HTTP
|
||||
ProxyMod = ProxyDelta
|
||||
HTTPSession = self
|
||||
end
|
||||
|
||||
module Net
|
||||
HTTPSession = Net::HTTP
|
||||
end
|
||||
|
||||
module Net::NetPrivate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue