projects
/
cascardo
/
ipsilon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set Cache-control on all generated pages, centralize in Endpoint
[cascardo/ipsilon.git]
/
ipsilon
/
rest
/
common.py
diff --git
a/ipsilon/rest/common.py
b/ipsilon/rest/common.py
index
4103e8e
..
7baea94
100644
(file)
--- a/
ipsilon/rest/common.py
+++ b/
ipsilon/rest/common.py
@@
-36,11
+36,6
@@
class RestPage(Endpoint):
def __init__(self, *args, **kwargs):
super(RestPage, self).__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
super(RestPage, self).__init__(*args, **kwargs)
- self.default_headers.update({
- 'Cache-Control': 'no-cache, must-revalidate',
- 'Pragma': 'no-cache',
- 'Expires': 'Thu, 01 Dec 1994 16:00:00 GMT',
- })
self.auth_protect = True
self.auth_protect = True