Function
sender
starlette/_exception_handler.py:34–39
· starlette/_exception_handler.py::sender
(message: Message)
Source from the content-addressed store, hash-verified
| 32 | response_started = False |
| 33 | |
| 34 | async def sender(message: Message) -> None: |
| 35 | nonlocal response_started |
| 36 | |
| 37 | if message[class="st">"type"] == class="st">"http.response.start": |
| 38 | response_started = True |
| 39 | await send(message) |
| 40 | |
| 41 | try: |
| 42 | await app(scope, receive, sender) |
Callers
nothing calls this directly
Tested by
no test coverage detected