Fix ASGI application on the documentation
@@ -417,7 +417,8 @@ async def app(scope, receive, send):
'type': 'http.response.start',
'status': 200,
'headers': [
- [b'content-type', b'text/plain'],
+ (b'content-type', b'text/plain'),
+ (b'content-length', str(len(body)).encode())
]
})
await send({
