typhoeus 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/typhoeus.rb +1 -1
- data/lib/typhoeus/hydra.rb +1 -1
- metadata +1 -1
data/lib/typhoeus.rb
CHANGED
data/lib/typhoeus/hydra.rb
CHANGED
@@ -107,8 +107,8 @@ module Typhoeus
|
|
107
107
|
def get_easy_object(request)
|
108
108
|
easy = @easy_pool.pop || Easy.new
|
109
109
|
easy.url = request.url
|
110
|
-
easy.params = request.params if request.method == :post
|
111
110
|
easy.method = request.method
|
111
|
+
easy.params = request.params if request.method == :post
|
112
112
|
easy.headers = request.headers if request.headers
|
113
113
|
easy.request_body = request.body if request.body
|
114
114
|
easy.timeout = request.timeout if request.timeout
|