lib/httpx/plugins/proxy/http.rb in httpx-1.2.6 vs lib/httpx/plugins/proxy/http.rb in httpx-1.3.0

- old
+ new

@@ -161,11 +161,11 @@ extra_headers end end class ConnectRequest < Request - def initialize(uri, _options) - super("CONNECT", uri, {}) + def initialize(uri, options) + super("CONNECT", uri, options) @headers.delete("accept") end def path "#{@uri.hostname}:#{@uri.port}"