lib/httpx/options.rb in httpx-0.9.0 vs lib/httpx/options.rb in httpx-0.10.0

- old
+ new

@@ -74,9 +74,11 @@ :resolver_options => { cache: true }, } defaults.merge!(options) defaults.each do |(k, v)| + next if v.nil? + __send__(:"#{k}=", v) end end def_option(:headers) do |headers|