Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Problems with Net::HTTPS in ruby-1.8.0-preview3
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Minero Aoki, post: 4411022"] Hi, In mail "Problems with Net::HTTPS in ruby-1.8.0-preview3" This is caused by net/http's incompatibility. Please try attached patch. Regards, Minero Aoki --- http.rb 24 Jun 2003 07:42:46 -0000 1.85 +++ http.rb 2 Jul 2003 02:05:35 -0000 1.86 @@ -1738,8 +1738,14 @@ module Net end - # for backward compatibility + + class HTTP + ProxyMod = ProxyDelta + end + module NetPrivate + HTTPRequest = ::Net::HTTPRequest + end HTTPInformationCode = HTTPInformation HTTPSuccessCode = HTTPSuccess --- protocol.rb 6 Jun 2003 07:05:52 -0000 1.68 +++ protocol.rb 2 Jul 2003 02:05:34 -0000 1.69 @@ -447,6 +447,12 @@ module Net yield str end + end + + + # For backward compatibility + module NetPrivate + Socket = ::Net::InternetMessageIO end end # module Net [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Problems with Net::HTTPS in ruby-1.8.0-preview3
Top