[Groonga-commit] ranguba/groonga-client at 503a5ad [master] Instantiate Net::HTTP::Get explicitly for later expansion

Back to archive index

KITAITI Makoto null+****@clear*****
Fri Feb 5 13:33:15 JST 2016


KITAITI Makoto	2016-02-05 13:33:15 +0900 (Fri, 05 Feb 2016)

  New Revision: 503a5ad48e68aae7ded87e8efce8291cc530e7f8
  https://github.com/ranguba/groonga-client/commit/503a5ad48e68aae7ded87e8efce8291cc530e7f8

  Merged 41a8b86: Merge pull request #4 from KitaitiMakoto/basic-auth

  Message:
    Instantiate Net::HTTP::Get explicitly for later expansion

  Modified files:
    lib/groonga/client/protocol/http/synchronous.rb

  Modified: lib/groonga/client/protocol/http/synchronous.rb (+2 -1)
===================================================================
--- lib/groonga/client/protocol/http/synchronous.rb    2016-02-05 13:32:05 +0900 (30482a4)
+++ lib/groonga/client/protocol/http/synchronous.rb    2016-02-05 13:33:15 +0900 (0ae49c8)
@@ -111,7 +111,8 @@ module Groonga
               request.body_stream = StringIO.new(raw_values)
               http.request(request)
             else
-              http.get(path, headers)
+              request = Net::HTTP::Get.new(path, headers)
+              http.request(request)
             end
           end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index