MCPcopy Index your code
hub / github.com/pyload/pyload / logout

Function logout

module/web/api_app.py:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106@route("/api/logout")
107def logout():
108 response.headers.replace("Content-type", "application/json")
109 response.headers.append("Cache-Control", "no-cache, must-revalidate")
110
111 s = request.environ.get('beaker.session')
112 s.delete()

Callers

nothing calls this directly

Calls 4

replaceMethod · 0.45
appendMethod · 0.45
getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected