From 5dbfc436baca94e98f3849c983a97fd6715dbe83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 18 Aug 2023 03:49:57 +0200 Subject: [PATCH] Continued: - some websites are so badly configured that they return a broken gzip body - let's handle that exception here, too --- fba/http/network.py | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5