diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/net/http.rb | 8 | ||||
-rw-r--r-- | lib/net/protocol.rb | 6 |
3 files changed, 20 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Wed Jul 2 11:10:47 2003 Minero Aoki <aamine@loveruby.net> + + * lib/net/http.rb: set old class aliases for backward + compatibility. [ruby-talk:74863] + + * lib/net/protocol.rb: ditto. + Wed Jul 2 01:32:40 2003 WATANABE Hirofumi <eban@ruby-lang.org> * lib/net/pop.rb (Net::POP3#start): typofix. diff --git a/lib/net/http.rb b/lib/net/http.rb index 65424bd61b..e037f4b360 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1738,9 +1738,15 @@ module Net end - # for backward compatibility + class HTTP + ProxyMod = ProxyDelta + end + module NetPrivate + HTTPRequest = ::Net::HTTPRequest + end + HTTPInformationCode = HTTPInformation HTTPSuccessCode = HTTPSuccess HTTPRedirectionCode = HTTPRedirection diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index b58eec9475..b3ac5e5093 100644 --- a/lib/net/protocol.rb +++ b/lib/net/protocol.rb @@ -449,4 +449,10 @@ module Net end + + # For backward compatibility + module NetPrivate + Socket = ::Net::InternetMessageIO + end + end # module Net |