[前][次][番号順一覧][スレッド一覧]

ruby-changes:29234

From: kou <ko1@a...>
Date: Thu, 13 Jun 2013 23:07:38 +0900 (JST)
Subject: [ruby-changes:29234] kou:r41286 (trunk): * lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw

kou	2013-06-13 23:07:28 +0900 (Thu, 13 Jun 2013)

  New Revision: 41286

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41286

  Log:
    * lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
      Net::HTTP. [ruby-core:55197] [Feature #8461]
      Reported by Herwin Weststrate. Thanks!!!

  Modified files:
    trunk/ChangeLog
    trunk/lib/xmlrpc/client.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41285)
+++ ChangeLog	(revision 41286)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun 13 23:02:14 2013  Kouhei Sutou  <kou@c...>
+
+	* lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
+	  Net::HTTP. [ruby-core:55197] [Feature #8461]
+	  Reported by Herwin Weststrate. Thanks!!!
+
 Thu Jun 13 22:44:52 2013  Kouhei Sutou  <kou@c...>
 
 	* lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Support
Index: lib/xmlrpc/client.rb
===================================================================
--- lib/xmlrpc/client.rb	(revision 41285)
+++ lib/xmlrpc/client.rb	(revision 41286)
@@ -188,6 +188,13 @@ module XMLRPC # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/xmlrpc/client.rb#L188
     end
 
 
+    # Returns the Net::HTTP object for the client. If you want to
+    # change HTTP client options except header, cookie, timeout,
+    # user and password, use Net::HTTP directly.
+    #
+    # Since 2.1.0.
+    attr_reader :http
+
     # Add additional HTTP headers to the request
     attr_accessor :http_header_extra
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]