MCPcopy Create free account
hub / github.com/apify/crawlee-python / generic_response_endpoint

Function generic_response_endpoint

tests/unit/server.py:295–300  ·  view source on GitHub ↗

Handle requests with a generic HTML response.

(_scope: dict[str, Any], _receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

293
294
295async def generic_response_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None:
296 """Handle requests with a generic HTML response."""
297 await send_html_response(
298 send,
299 GENERIC_RESPONSE,
300 )
301
302
303async def problematic_links_endpoint(_scope: dict[str, Any], _receive: Receive, send: Send) -> None:

Callers

nothing calls this directly

Calls 1

send_html_responseFunction · 0.85

Tested by

no test coverage detected