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 dd5a915 commit d71debaCopy full SHA for d71deba
1 file changed
httpx/_transports/default.py
@@ -132,7 +132,7 @@ def __init__(
132
) -> None:
133
ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)
134
135
- if proxy and isinstance(proxy, str):
+ if proxy is not None and isinstance(proxy, str):
136
proxy = Proxy(url=proxy)
137
138
if proxy is None:
@@ -274,7 +274,7 @@ def __init__(
274
275
276
277
278
279
280
0 commit comments