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

Function index_put

tests/test_basic.py:46–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 @app.route("/", methods=["PUT"])
46 def index_put():
47 return "Aha!"
48
49 rv = client.open("/", method="OPTIONS")
50 assert sorted(rv.allow) == ["GET", "HEAD", "OPTIONS", "POST", "PUT"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected