From d0d038a19a0bab1c4edff94cc471d30e01ab8bd6 Mon Sep 17 00:00:00 2001 From: Lukas Dobler <69309597+doluk@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:43:21 +0200 Subject: [PATCH] Enable gzip, deflate compression --- coc/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/coc/http.py b/coc/http.py index 3e863ebb..abb593f3 100644 --- a/coc/http.py +++ b/coc/http.py @@ -263,6 +263,7 @@ async def request(self, route, **kwargs): headers = { "Accept" : "application/json", "authorization": "Bearer {}".format(next(self.keys)), + "Accept-Encoding": "gzip, deflate", } kwargs["headers"] = headers