mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
httpx update to 0.15.0
This commit is contained in:
parent
23bcbf8906
commit
07951bd745
3 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ Dependency
|
||||||
|
|
||||||
* tornado + pycurl
|
* tornado + pycurl
|
||||||
* aiohttp
|
* aiohttp
|
||||||
* httpx with http2 support
|
* httpx with http2 support (experimental; only latest version is supported)
|
||||||
* tornado
|
* tornado
|
||||||
|
|
||||||
- All commands used in your software version configuration files
|
- All commands used in your software version configuration files
|
||||||
|
|
|
@ -25,7 +25,7 @@ Dependency
|
||||||
|
|
||||||
* tornado + pycurl
|
* tornado + pycurl
|
||||||
* aiohttp
|
* aiohttp
|
||||||
* httpx with http2 support
|
* httpx with http2 support (experimental; only latest version is supported)
|
||||||
* tornado
|
* tornado
|
||||||
|
|
||||||
- All commands used in your software version configuration files
|
- All commands used in your software version configuration files
|
||||||
|
|
|
@ -25,7 +25,7 @@ class HttpxSession(BaseSession):
|
||||||
client = self.clients.get(proxy)
|
client = self.clients.get(proxy)
|
||||||
if not client:
|
if not client:
|
||||||
client = httpx.AsyncClient(
|
client = httpx.AsyncClient(
|
||||||
timeout = httpx.Timeout(20, pool_timeout=None),
|
timeout = httpx.Timeout(20, pool=None),
|
||||||
http2 = True,
|
http2 = True,
|
||||||
proxies = {'all://': proxy},
|
proxies = {'all://': proxy},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue