MCPcopy
hub / github.com/pallets/flask / clear

Function clear

tests/test_basic.py:330–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328
329 @app.route("/clear")
330 def clear():
331 flask.session.pop("testing", None)
332 return "Goodbye World"
333
334 rv = client.get("/", "http://www.example.com:8080/test/")
335 cookie = rv.headers["set-cookie"].lower()

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…