diff options
Diffstat (limited to 'test/python/204_no_content')
-rw-r--r-- | test/python/204_no_content/asgi.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/python/204_no_content/asgi.py b/test/python/204_no_content/asgi.py new file mode 100644 index 00000000..634facc2 --- /dev/null +++ b/test/python/204_no_content/asgi.py @@ -0,0 +1,8 @@ +async def application(scope, receive, send): + assert scope['type'] == 'http' + + await send({ + 'type': 'http.response.start', + 'status': 204, + 'headers': [], + }) |