Skip to content

Commit

Permalink
AAIO skip mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
kewldan committed Dec 19, 2023
1 parent b435f66 commit 37caadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aaio/AAIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 37caadd

Please sign in to comment.