aiohttp封装http请求

import aiohttp import json from sanic.response import stream async def post(url, data, headers=None): async with aiohttp.ClientSession(headers=headers) as session: result = await session.post(url, dat
相关文章
相关标签/搜索