Echo back the request headers as JSON.
(scope: dict[str, Any], _receive: Receive, send: Send)
| 263 | |
| 264 | |
| 265 | async def echo_headers(scope: dict[str, Any], _receive: Receive, send: Send) -> None: |
| 266 | """Echo back the request headers as JSON.""" |
| 267 | headers = get_headers_dict(scope) |
| 268 | await send_json_response(send, headers) |
| 269 | |
| 270 | |
| 271 | async def start_enqueue_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None: |
nothing calls this directly
no test coverage detected