httpx update to 0.15.0

This commit is contained in:
lilydjwg 2020-09-23 17:11:56 +08:00
parent 23bcbf8906
commit 07951bd745
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ Dependency
* tornado + pycurl
* aiohttp
* httpx with http2 support
* httpx with http2 support (experimental; only latest version is supported)
* tornado
- All commands used in your software version configuration files

View file

@ -25,7 +25,7 @@ Dependency
* tornado + pycurl
* aiohttp
* httpx with http2 support
* httpx with http2 support (experimental; only latest version is supported)
* tornado
- All commands used in your software version configuration files

View file

@ -25,7 +25,7 @@ class HttpxSession(BaseSession):
client = self.clients.get(proxy)
if not client:
client = httpx.AsyncClient(
timeout = httpx.Timeout(20, pool_timeout=None),
timeout = httpx.Timeout(20, pool=None),
http2 = True,
proxies = {'all://': proxy},
)