'Set the response to be cached forever by the client.'

def cache_forever(self):

    now = time.time()
    self._cache_headers = [('Date', date_time_string(now)), ('Expires', date_time_string((now + 31536000))), ('Cache-Control', 'public,    max-age=31536000')]
