Skip to content

Commit

Permalink
Enable gzip, deflate compression
Browse files Browse the repository at this point in the history
  • Loading branch information
doluk authored Sep 11, 2024
1 parent 6e77203 commit d0d038a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coc/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d0d038a

Please sign in to comment.