MCPcopy
hub / github.com/encode/starlette / echo_urls

Function echo_urls

tests/test_routing.py:521–527  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

519
520
521async def echo_urls(request: Request) -> JSONResponse:
522 return JSONResponse(
523 {
524 "index": str(request.url_for("index")),
525 "submount": str(request.url_for("mount:submount")),
526 }
527 )
528
529
530echo_url_routes = [

Callers

nothing calls this directly

Calls 2

JSONResponseClass · 0.90
url_forMethod · 0.45

Tested by

no test coverage detected