MCPcopy Create free account
hub / github.com/pallets/flask / catch_all

Function catch_all

tests/test_basic.py:1454–1455  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1452
1453 @app.route("/<path:path>")
1454 def catch_all(path):
1455 return path
1456
1457 rv = app.test_client().get("/catch/all")
1458 assert rv.data == b"catch/all"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected