1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Testing fix for cache issues causing blank pages, caching has been turned off.

This commit is contained in:
echel0n 2014-06-28 14:40:33 -07:00
parent f247499289
commit 84da4147fb

View File

@ -213,10 +213,14 @@ class MainHandler(RequestHandler):
return super(MainHandler, self).redirect(sickbeard.WEB_ROOT + url, permanent, status)
def get(self, *args, **kwargs):
self.set_header('Cache-Control', "max-age=0,no-cache,no-store")
response = self._dispatch()
self.finish(response)
def post(self, *args, **kwargs):
self.set_header('Cache-Control', "max-age=0,no-cache,no-store")
response = self._dispatch()
self.finish(response)