Skip to content

Commit ecd69f8

Browse files
committed
Removed compression from POST requests
1 parent 919c87e commit ecd69f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tibiapy/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ async def _post(self, url, data):
9898
The text content of the response.
9999
"""
100100
try:
101-
async with self.session.post(url, data=data, compress=True) as resp:
101+
async with self.session.post(url, data=data) as resp:
102102
self._handle_status(resp.status)
103-
return await resp.text()
103+
var = await resp.text()
104+
return var
104105
except aiohttp.ClientError as e:
105106
raise NetworkError("aiohttp.ClientError: %s" % e, e)
106107

0 commit comments

Comments
 (0)