An awaitable object, to get the request body at once. The default maximum upload size is 2MiB. You can change this with --client-max-body-size
.
This will load the entire body into memory. Use request.stream() whenever possible.
Example:
from httpout import run, request
async def main():
body = await request.body()
print(body)
run(main())