python3 -m pip install aioclientimport aioclient
import asyncio
async def get_example():
status, headers, body = await aioclient.get('https://www.example.com/')
print(body)
asyncio.run(get_example())- GET requests return
status, headers, bodytuples
- Support
OPTIONS,HEAD,POST,PUT,PATCH, andDELETErequests - Deserialize
text/xmlresponses as XMLElementTree
- Fix project description
- Remove
cchardetdependency