do not follow altsvc when connecting using proxy

This commit is contained in:
HoneyryderChuck 2020-02-13 01:15:40 +00:00
parent 16ed6d428d
commit 0986fa96d5

View File

@ -134,6 +134,12 @@ module HTTPX
end
response
end
def build_altsvc_connection(_, _, _, _, options)
return if options.proxy
super
end
end
module ConnectionMethods