|
|
@ -103,7 +103,7 @@ import urllib3.util.url
|
|
|
|
if hasattr(urllib3.util.url, '_PERCENT_RE'): # was 'PERCENT_RE' in urllib3 < 2.0.0
|
|
|
|
if hasattr(urllib3.util.url, '_PERCENT_RE'): # was 'PERCENT_RE' in urllib3 < 2.0.0
|
|
|
|
urllib3.util.url._PERCENT_RE = Urllib3PercentREOverride(urllib3.util.url._PERCENT_RE)
|
|
|
|
urllib3.util.url._PERCENT_RE = Urllib3PercentREOverride(urllib3.util.url._PERCENT_RE)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
warnings.warn('Failed to patch PERCENT_RE in urllib3 (does the attribute exist?)' + bug_reports_message())
|
|
|
|
warnings.warn('Failed to patch _PERCENT_RE in urllib3 (does the attribute exist?)' + bug_reports_message())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Requests will not automatically handle no_proxy by default
|
|
|
|
# Requests will not automatically handle no_proxy by default
|
|
|
|