[Groonga-commit] droonga/droonga-client-ruby at 9c312f4 [master] Don't add posting data to the URL if it is POST

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 20 15:43:12 JST 2014


YUKI Hiroshi	2014-01-20 15:43:12 +0900 (Mon, 20 Jan 2014)

  New Revision: 9c312f433bcfd1009d617d984b8b85192469668a
  https://github.com/droonga/droonga-client-ruby/commit/9c312f433bcfd1009d617d984b8b85192469668a

  Message:
    Don't add posting data to the URL if it is POST

  Modified files:
    lib/droonga/client/connection/http.rb

  Modified: lib/droonga/client/connection/http.rb (+1 -1)
===================================================================
--- lib/droonga/client/connection/http.rb    2014-01-20 15:29:44 +0900 (73e53b7)
+++ lib/droonga/client/connection/http.rb    2014-01-20 15:43:12 +0900 (08977fd)
@@ -155,7 +155,7 @@ module Droonga
           base_path = message["path"] || "/#{type}"
           if body.empty?
             base_path
-          else
+          elsif message["method"] == "GET"
             "#{base_path}?#{Rack::Utils.build_nested_query(body)}"
           end
         end
-------------- next part --------------
HTML����������������������������...
Download 



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