Tests: added ASGI HTTP applications.
This commit is contained in:
8
test/python/204_no_content/asgi.py
Normal file
8
test/python/204_no_content/asgi.py
Normal file
@@ -0,0 +1,8 @@
|
||||
async def application(scope, receive, send):
|
||||
assert scope['type'] == 'http'
|
||||
|
||||
await send({
|
||||
'type': 'http.response.start',
|
||||
'status': 204,
|
||||
'headers': [],
|
||||
})
|
||||
Reference in New Issue
Block a user