Files
nginx-unit/test/python/204_no_content/asgi.py
Andrei Zeliankou 0f72534660 Tests: style.
2022-04-11 21:05:14 +01:00

11 lines
220 B
Python

async def application(scope, receive, send):
assert scope['type'] == 'http'
await send(
{
'type': 'http.response.start',
'status': 204,
'headers': [],
}
)