lib/httpx/chainable.rb in httpx-0.12.0 vs lib/httpx/chainable.rb in httpx-0.13.0

- old
+ new

@@ -15,15 +15,15 @@ end # :nocov: def timeout(**args) warn ":#{__method__} is deprecated, use :with_timeout instead" - branch(default_options.with(timeout: args)) + with(timeout: args) end def headers(headers) warn ":#{__method__} is deprecated, use :with_headers instead" - branch(default_options.with(headers: headers)) + with(headers: headers) end # :nocov: def accept(type) with(headers: { "accept" => String(type) })