fix aiohttp_httpclient not posting json

This commit is contained in:
lilydjwg 2020-09-02 14:40:38 +08:00
parent 8c4b5bbe57
commit 61daa29d48

View file

@ -38,6 +38,8 @@ class AiohttpSession(BaseSession):
if proxy is not None:
kwargs['proxy'] = proxy
if json is not None:
kwargs['json'] = json
try:
logger.debug('send request', method=method, url=url, kwargs=kwargs)