lib/httpx/client.rb in httpx-0.2.0 vs lib/httpx/client.rb in httpx-0.2.1
- old
+ new
@@ -82,11 +82,11 @@
__build_req(verb, uri, options)
end
when 2, 3
verb, uris = args
if uris.respond_to?(:each)
- uris.map do |uri|
- __build_req(verb, uri, options)
+ uris.map do |uri, **opts|
+ __build_req(verb, uri, options.merge(opts))
end
else
[__build_req(verb, uris, options)]
end
else