aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-03 01:10:37 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-03 01:10:37 +0000
commit46e293ec0d3a7b6522101d17bb44d76f2ba8b827 (patch)
tree9f9c29ba5450961519c7410f6431f934c203df3e /lib/xmlrpc
parent5812975fc3dea41ba7260a6cfbdfba9ab0fd0e31 (diff)
downloadruby-46e293ec0d3a7b6522101d17bb44d76f2ba8b827.tar.gz
* lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
so we can safely remove the call to enable it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r--lib/xmlrpc/client.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index e61d631b16..d4123211d8 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -325,7 +325,6 @@ module XMLRPC
@proxy_port = @proxy_port.to_i if @proxy_port != nil
# HTTP object for synchronous calls
- Net::HTTP.version_1_2
@http = Net::HTTP.new(@host, @port, @proxy_host, @proxy_port)
@http.use_ssl = @use_ssl if @use_ssl
@http.read_timeout = @timeout