Handle basic requests with a simple HTML response.
(_scope: dict[str, Any], _receive: Receive, send: Send)
| 175 | |
| 176 | |
| 177 | async def hello_world(_scope: dict[str, Any], _receive: Receive, send: Send) -> None: |
| 178 | """Handle basic requests with a simple HTML response.""" |
| 179 | await send_html_response( |
| 180 | send, |
| 181 | HELLO_WORLD, |
| 182 | ) |
| 183 | |
| 184 | |
| 185 | async def hello_world_json(_scope: dict[str, Any], _receive: Receive, send: Send) -> None: |
no test coverage detected