chiark
/
gitweb
/
~mdw
/
chopwood
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7650d16
)
cmd-cgi.py: Don't allow caching of the `list' page.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 30 Mar 2013 14:24:27 +0000
(14:24 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 30 Mar 2013 14:24:27 +0000
(14:24 +0000)
May further reduce the possibility of proxies crossing wires over.
cmd-cgi.py
patch
|
blob
|
blame
|
history
diff --git
a/cmd-cgi.py
b/cmd-cgi.py
index 57de66c732f822eefde82046cdacc64cd48143be..6dc59ee44666363fe5a63c15f3897fd5b126c004 100644
(file)
--- 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)