Merge pull request #22 from msabramo/GH-21_override_request_url_to_not_call_select_proxy
Override HTTPAdapter.request_url
This commit is contained in:
@@ -58,3 +58,6 @@ class UnixAdapter(HTTPAdapter):
|
|||||||
raise ValueError('%s does not support specifying proxies'
|
raise ValueError('%s does not support specifying proxies'
|
||||||
% self.__class__.__name__)
|
% self.__class__.__name__)
|
||||||
return UnixHTTPConnectionPool(socket_path, self.timeout)
|
return UnixHTTPConnectionPool(socket_path, self.timeout)
|
||||||
|
|
||||||
|
def request_url(self, request, proxies):
|
||||||
|
return request.path_url
|
||||||
|
|||||||
Reference in New Issue
Block a user