Browse Source

fix: change to mounts (#622)

pull/624/head v4.7.3
Jonathan Mongeau 3 weeks ago
committed by GitHub
parent
commit
371d11accb
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/keycloak/connection.py

2
src/keycloak/connection.py

@ -102,7 +102,7 @@ class ConnectionManager(object):
if proxies: if proxies:
self._s.proxies.update(proxies) self._s.proxies.update(proxies)
self.async_s = httpx.AsyncClient(verify=verify, proxies=proxies, cert=cert)
self.async_s = httpx.AsyncClient(verify=verify, mounts=proxies, cert=cert)
self.async_s.auth = None # don't let requests add auth headers self.async_s.auth = None # don't let requests add auth headers
self.async_s.transport = httpx.AsyncHTTPTransport(retries=1) self.async_s.transport = httpx.AsyncHTTPTransport(retries=1)

Loading…
Cancel
Save