def GET_sup(self, period): #dont cache this, it's memoized elsewhere c.used_cache = True sup.set_expires_header() if c.extension == 'json': c.response.content = sup.sup_json(period) return c.response else: return self.abort404()