We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Should be derived from aiohttp.web.Response.
aiohttp.web.Response
Constructor signature is: def __init__(self, data, *, status=200, reason=None, headers=None)
def __init__(self, data, *, status=200, reason=None, headers=None)
Should pack data arg as json.dumps() and set content type to application/json.
data
json.dumps()
application/json
People forget to specify proper content type on sending json data.