lib/httpx/options.rb in httpx-0.6.4 vs lib/httpx/options.rb in httpx-0.6.5
- old
+ new
@@ -59,9 +59,10 @@
:connection_class => Class.new(Connection),
:transport => nil,
:transport_options => nil,
:persistent => false,
:resolver_class => (ENV["HTTPX_RESOLVER"] || :native).to_sym,
+ :resolver_options => { cache: true },
}
defaults.merge!(options)
defaults[:headers] = Headers.new(defaults[:headers])
defaults.each { |(k, v)| self[k] = v }