MCPcopy
hub / github.com/encode/starlette / HandledExcAfterResponse

Class HandledExcAfterResponse

tests/test_exceptions.py:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51class HandledExcAfterResponse:
52 async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
53 response = PlainTextResponse("OK", status_code=200)
54 await response(scope, receive, send)
55 raise HTTPException(status_code=406)
56
57
58router = Router(

Callers 1

test_exceptions.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected