(scope, receive, send)
| 14 | |
| 15 | |
| 16 | async def app(scope, receive, send): |
| 17 | assert scope["type"] == "http" |
| 18 | await send({"type": "http.response.start", "status": 204, "headers": []}) |
| 19 | await send({"type": "http.response.body", "body": b"", "more_body": False}) |
| 20 | |
| 21 | |
| 22 | @pytest.mark.anyio |