lib/httpx/session.rb in httpx-0.8.1 vs lib/httpx/session.rb in httpx-0.8.2

- old
+ new

@@ -195,10 +195,10 @@ end end def build_request(verb, uri, options) rklass = @options.request_class - request = rklass.new(verb, uri, @options.merge(options)) + request = rklass.new(verb, uri, @options.merge(options).merge(persistent: @persistent)) request.on(:response, &method(:on_response).curry[request]) request.on(:promise, &method(:on_promise)) request end