An alternative to print() for writing the response body. It only accepts a bytes-like object.

Example:

from httpout import run, response

async def main():
    await response.write(b'Hello, ')
    await response.write(b'World!')


run(main())