From: Mark Wooding Date: Sat, 30 Mar 2013 14:24:27 +0000 (+0000) Subject: cmd-cgi.py: Don't allow caching of the `list' page. X-Git-Tag: 1.0.1~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/chopwood/commitdiff_plain/6a749ccfccef95865f1892caa223a4e3b52f0858 cmd-cgi.py: Don't allow caching of the `list' page. May further reduce the possibility of proxies crossing wires over. --- diff --git a/cmd-cgi.py b/cmd-cgi.py index 57de66c..6dc59ee 100644 --- a/cmd-cgi.py +++ b/cmd-cgi.py @@ -58,6 +58,7 @@ def operate(what, op, services, *args, **kw): @CGI.subcommand('list', ['cgi-query'], 'List available accounts') def cmd_list_cgi(): CGI.page('list.fhtml', + header = dict(pragma = 'no-cache', cache_control = 'no-cache'), title = 'Chopwood: accounts list', accts = CU.list_accounts(CU.USER), nonce = HA.NONCE)