Browse Source

fix: change httpx contract to support updated httpx to address issue 620

pull/621/head
jonmongeau13 5 months ago
committed by GitHub
parent
commit
303a48b136
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/keycloak/connection.py

4
src/keycloak/connection.py

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

Loading…
Cancel
Save