lib/httpx/adapters/faraday.rb in httpx-0.22.3 vs lib/httpx/adapters/faraday.rb in httpx-0.22.4

- old
+ new

@@ -167,9 +167,11 @@ @handlers << handler handler end def run + return unless @handlers.last + env = @handlers.last.env session = HTTPX.session.with(options_from_env(env)) session = session.plugin(:proxy).with(proxy: { uri: env.request.proxy }) if env.request.proxy session = session.plugin(OnDataPlugin) if env.request.stream_response?