Update http_utils.py

This commit is contained in:
HibiKier 2021-12-01 15:20:32 +08:00 committed by GitHub
parent 58acb14859
commit 65d8fae9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ import httpx
class AsyncHttpx: class AsyncHttpx:
proxy = {"http://": get_local_proxy()} proxy = {"http://": get_local_proxy(), "https://": get_local_proxy()}
@classmethod @classmethod
@retry(stop_max_attempt_number=3) @retry(stop_max_attempt_number=3)