(message)
| 1127 | return {"type": "http.disconnect"} |
| 1128 | |
| 1129 | async def send(message): # noqa: RUF029 |
| 1130 | if message.get("type") == "http.response.body" and not message.get("body"): |
| 1131 | done.set() |
| 1132 | |
| 1133 | await streaming_response(scope, receive, send) |
| 1134 |
no test coverage detected