From 37caadd29d40a8707c15220c243dcb6225439300 Mon Sep 17 00:00:00 2001 From: kewldan Date: Tue, 19 Dec 2023 22:14:03 +0300 Subject: [PATCH] AAIO skip mime type --- src/aaio/AAIO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aaio/AAIO.py b/src/aaio/AAIO.py index 369bc59..a9b0e3b 100644 --- a/src/aaio/AAIO.py +++ b/src/aaio/AAIO.py @@ -269,7 +269,7 @@ async def __create_request(self, uri: str, params: dict = None) -> Optional[dict async with aiohttp.ClientSession(self._base_url) as session: async with session.post(uri, headers=headers, data={k: v for k, v in params.items() if v is not None}) as r: - response = await r.json() + response = await r.json(content_type=None) if response['type'] == 'success': return response else: