[Groonga-commit] ranguba/groonga-client at 6dd9d9c [master] Make request headers a instance variable for reuse

Back to archive index

KITAITI Makoto null+****@clear*****
Sat Feb 6 12:59:32 JST 2016


KITAITI Makoto	2016-02-06 12:59:32 +0900 (Sat, 06 Feb 2016)

  New Revision: 6dd9d9ce006ab41b32f64edd9bf6c3d081c58bbf
  https://github.com/ranguba/groonga-client/commit/6dd9d9ce006ab41b32f64edd9bf6c3d081c58bbf

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

  Message:
    Make request headers a instance variable for reuse

  Modified files:
    test/test-client.rb

  Modified: test/test-client.rb (+2 -0)
===================================================================
--- test/test-client.rb    2016-02-06 12:58:40 +0900 (89cdf95)
+++ test/test-client.rb    2016-02-06 12:59:32 +0900 (c13836d)
@@ -332,6 +332,7 @@ JSON
       @port =****@serve*****[1]
       @protocol = :http
 
+      @request_headers = {}
       @actual_commands = []
       @response_body = nil
       @thread = Thread.new do
@@ -350,6 +351,7 @@ JSON
               headers[name.downcase] = value
             end
           end
+          @request_headers = headers
           content_length = headers["content-length"]
           if content_length
             body = client.read(Integer(content_length))
-------------- next part --------------
HTML����������������������������...
Download 



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