From 91cbed1f8ebbc4d0bcddc6dc3147124ee1e47a1d Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Sat, 6 Nov 2021 10:59:48 +0800 Subject: [PATCH] httpx: allow_redirects becomes follow_redirects --- nvchecker/httpclient/httpx_httpclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvchecker/httpclient/httpx_httpclient.py b/nvchecker/httpclient/httpx_httpclient.py index 3a17fb3..7609a9a 100644 --- a/nvchecker/httpclient/httpx_httpclient.py +++ b/nvchecker/httpclient/httpx_httpclient.py @@ -49,7 +49,7 @@ class HttpxSession(BaseSession): r = await client.request( method, url, json = json, content = body, headers = headers, - allow_redirects = follow_redirects, + follow_redirects = follow_redirects, params = params, ) err_cls: Optional[type] = None