We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeafb6a commit 1604e20Copy full SHA for 1604e20
1 file changed
src/requests/utils.py
@@ -97,6 +97,8 @@ def proxy_bypass_registry(host):
97
# '<local>' string by the localhost entry and the corresponding
98
# canonical entry.
99
proxyOverride = proxyOverride.split(";")
100
+ # filter out empty strings to avoid re.match all true.
101
+ proxyOverride = filter(None, proxyOverride)
102
# now check if we match one of the registry values.
103
for test in proxyOverride:
104
if test == "<local>":
0 commit comments