class Root:

    def index(self):
        cherrypy.response.headers['Retry-After'] = 60
cherrypy.response.status = 503
return '<h1>Service Unavailable</h1>'
index.exposed = True
python cherrypy - how to add header