diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 8 | ||||
-rw-r--r-- | lib/net/protocol.rb | 6 |
2 files changed, 13 insertions, 1 deletions
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 |