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 00cdc4d commit 1aafe9aCopy full SHA for 1aafe9a
reflex/utils/net.py
@@ -152,14 +152,19 @@ def _httpx_client():
152
import httpx
153
from httpx._utils import get_environment_proxies
154
155
+ verify_setting = _httpx_verify_kwarg()
156
return httpx.Client(
157
transport=httpx.HTTPTransport(
158
local_address=_httpx_local_address_kwarg(),
- verify=_httpx_verify_kwarg(),
159
+ verify=verify_setting,
160
),
161
mounts={
162
key: (
- None if url is None else httpx.HTTPTransport(proxy=httpx.Proxy(url=url))
163
+ None
164
+ if url is None
165
+ else httpx.HTTPTransport(
166
+ proxy=httpx.Proxy(url=url), verify=verify_setting
167
+ )
168
)
169
for key, url in get_environment_proxies().items()
170
},
0 commit comments