()
| 105 | |
| 106 | @route("/api/logout") |
| 107 | def 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() |