Handle requests for the base index page.
(_scope: dict[str, Any], _receive: Receive, send: Send)
| 466 | |
| 467 | |
| 468 | async def start_enqueue_non_href_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None: |
| 469 | """Handle requests for the base index page.""" |
| 470 | host = f'http://{get_headers_dict(_scope).get("host", "localhost")}' |
| 471 | content = START_ENQUEUE_NON_HREF.format(host=host).encode() |
| 472 | await send_html_response( |
| 473 | send, |
| 474 | content, |
| 475 | ) |
| 476 | |
| 477 | |
| 478 | class TestServer(Server): |
nothing calls this directly
no test coverage detected