mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix aiohttp_httpclient not posting json
This commit is contained in:
parent
8c4b5bbe57
commit
61daa29d48
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue