def __init__(self, *args, **kwargs):
super(AdminPage, 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
def __init__(self, *args, **kwargs):
super(MetaHandler, 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._template_name = None
self._take_args = False
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._site = site
self.basepath = cherrypy.config.get('base.mount', "")
self.user = None
- self.default_headers = dict()
+ self.default_headers = {
+ 'Cache-Control': 'no-cache, no-store, must-revalidate, private',
+ 'Pragma': 'no-cache',
+ }
self.auth_protect = False
def get_url(self):
self.basepath = cherrypy.config.get('base.mount', "")
self.user = None
self._is_form_page = form
- self.default_headers = dict()
self.auth_protect = False
def get_url(self):