mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-16 00:01:48 -04:00
do not follow altsvc when connecting using proxy
This commit is contained in:
parent
16ed6d428d
commit
0986fa96d5
@ -134,6 +134,12 @@ module HTTPX
|
||||
end
|
||||
response
|
||||
end
|
||||
|
||||
def build_altsvc_connection(_, _, _, _, options)
|
||||
return if options.proxy
|
||||
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
module ConnectionMethods
|
||||
|
Loading…
x
Reference in New Issue
Block a user