From: Roland Häder Date: Fri, 18 Aug 2023 01:49:57 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5dbfc436baca94e98f3849c983a97fd6715dbe83;p=fba.git Continued: - some websites are so badly configured that they return a broken gzip body - let's handle that exception here, too --- diff --git a/fba/http/network.py b/fba/http/network.py index 2b1a9bb..e7819f6 100644 --- a/fba/http/network.py +++ b/fba/http/network.py @@ -47,6 +47,7 @@ api_headers = { exceptions = ( requests.exceptions.ChunkedEncodingError, requests.exceptions.ConnectionError, + requests.exceptions.ContentDecodingError, requests.exceptions.InvalidSchema, requests.exceptions.InvalidURL, requests.exceptions.Timeout,