MCPcopy
hub / github.com/encode/uvicorn / app

Function app

tests/test_ssl.py:16–19  ·  view source on GitHub ↗
(scope, receive, send)

Source from the content-addressed store, hash-verified

14
15
16async 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

Callers 3

run_asgiMethod · 0.50
run_asgiMethod · 0.50
mainMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected