http-request 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/http-request/connection.rb +1 -1
- data/lib/http-request/version.rb +1 -1
- metadata +1 -1
@@ -80,7 +80,7 @@ module HttpRequest
|
|
80
80
|
|
81
81
|
# Build request
|
82
82
|
req_klass = instance_eval("Net::HTTP::"+verb.to_s.capitalize)
|
83
|
-
req = req_klass.new(uri.path, headers)
|
83
|
+
req = req_klass.new([uri.path, uri.query].join('?'), headers)
|
84
84
|
req.body = body if !body.nil? && !body.empty?
|
85
85
|
|
86
86
|
# Make the HTTP request
|
data/lib/http-request/version.rb
CHANGED