Mercurial > moin > 1.9
changeset 5203:8b2c738f2a91
fix typo in Cache-Control header (max-age)
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sat, 10 Oct 2009 15:17:10 +0200 |
parents | a3c6d7b7a5dd |
children | 03086aa93c85 |
files | MoinMoin/web/contexts.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/web/contexts.py Sat Oct 10 13:35:26 2009 +0200 +++ b/MoinMoin/web/contexts.py Sat Oct 10 15:17:10 2009 +0200 @@ -260,7 +260,7 @@ return if level == 1: - self.headers.set('Cache-Control', 'private, must-revalidate, mag-age=10') + self.headers.set('Cache-Control', 'private, must-revalidate, max-age=10') elif level == 2: self.headers.set('Cache-Control', 'no-cache') self.headers.set('Pragma', 'no-cache')