blob: e79ced00f698f01340d2f41d0cbde87bc5a677f3 (
plain) (
tree)
|
|
async def application(scope, receive, send):
assert scope['type'] == 'http'
await send({
'type': 'http.response.start',
'status': 200,
'headers': [
(b'content-length', b'0'),
(b'server-port', str(scope['server'][1]).encode()),
]
})
|