forked from loafle/openapi-generator-original
Replace urllib3.util.url.parse_url
with urllib3.util.parse_url
This commit is contained in:
parent
8a3c64aa41
commit
b42ead3c0f
@ -71,7 +71,7 @@ class RESTClientObject(object):
|
||||
"""
|
||||
Return proper pool manager for the http\https schemes.
|
||||
"""
|
||||
url = urllib3.util.url.parse_url(url)
|
||||
url = urllib3.util.parse_url(url)
|
||||
scheme = url.scheme
|
||||
if scheme == 'https':
|
||||
return self.ssl_pool_manager
|
||||
|
@ -71,7 +71,7 @@ class RESTClientObject(object):
|
||||
"""
|
||||
Return proper pool manager for the http\https schemes.
|
||||
"""
|
||||
url = urllib3.util.url.parse_url(url)
|
||||
url = urllib3.util.parse_url(url)
|
||||
scheme = url.scheme
|
||||
if scheme == 'https':
|
||||
return self.ssl_pool_manager
|
||||
|
Loading…
x
Reference in New Issue
Block a user