Skip to content

Commit

Permalink
pass query string to post request
Browse files Browse the repository at this point in the history
  • Loading branch information
xianhuazhou committed May 21, 2012
1 parent f33f0f9 commit 02f5f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http_request.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def send_request(http)
end end
h = http.method(@options[:method]).call(path, @headers) h = http.method(@options[:method]).call(path, @headers)
else else
h = http.method(@options[:method]).call(@uri.path, @options[:parameters], @headers) h = http.method(@options[:method]).call("#{@uri.path}?#{@uri.query}", @options[:parameters], @headers)
end end


self.class.update_cookies h self.class.update_cookies h
Expand Down

0 comments on commit 02f5f77

Please sign in to comment.