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
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Aug 24 07:35:24 2012 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
|
* lib/net/http/backward.rb (class Net): Restored Net::HTTPSession to
|
||||||
|
fix backwards-compatibility with ancient Net::HTTP. [Bug #6889]
|
||||||
|
|
||||||
Thu Aug 23 20:58:55 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
Thu Aug 23 20:58:55 2012 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||||
|
|
||||||
* common.mk: support `make id.h` without `rm .id.h.time` after
|
* common.mk: support `make id.h` without `rm .id.h.time` after
|
||||||
|
|
|
@ -4,7 +4,10 @@
|
||||||
|
|
||||||
class Net::HTTP
|
class Net::HTTP
|
||||||
ProxyMod = ProxyDelta
|
ProxyMod = ProxyDelta
|
||||||
HTTPSession = self
|
end
|
||||||
|
|
||||||
|
module Net
|
||||||
|
HTTPSession = Net::HTTP
|
||||||
end
|
end
|
||||||
|
|
||||||
module Net::NetPrivate
|
module Net::NetPrivate
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue