mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
removing match overrides (irrelevant)
This commit is contained in:
parent
2d9d837543
commit
0490175835
@ -174,12 +174,6 @@ module HTTPX
|
||||
@origin.port = proxy_uri.port
|
||||
end
|
||||
|
||||
def match?(uri, options)
|
||||
return super unless @options.proxy
|
||||
|
||||
super && @options.proxy == options.proxy
|
||||
end
|
||||
|
||||
def coalescable?(connection)
|
||||
return super unless @options.proxy
|
||||
|
||||
|
@ -78,12 +78,6 @@ module HTTPX
|
||||
end
|
||||
|
||||
module ConnectionMethods
|
||||
def match?(uri, options)
|
||||
return super unless @options.proxy
|
||||
|
||||
super && @options.proxy == options.proxy
|
||||
end
|
||||
|
||||
# should not coalesce connections here, as the IP is the IP of the proxy
|
||||
def coalescable?(*)
|
||||
return super unless @options.proxy
|
||||
|
Loading…
x
Reference in New Issue
Block a user