lib/httpx/plugins/proxy/http.rb in httpx-1.1.2 vs lib/httpx/plugins/proxy/http.rb in httpx-1.1.3
- old
+ new
@@ -36,10 +36,10 @@
if connection.options.proxy.can_authenticate?(response.headers["proxy-authenticate"])
request.transition(:idle)
request.headers["proxy-authorization"] =
connection.options.proxy.authenticate(request, response.headers["proxy-authenticate"])
- connection.send(request)
+ send_request(request, connections)
return
end
end
response