Part of lp.services.twistedsupport.gracefulshutdown View In Hierarchy
A 200 response code (OK) indicates the service is available, and a 503 (Service Not Available) indicates the service is shutting down and no new connections will be accepted.
This resource accepts both HEAD and GET requests. If the request is a GET this resource also reports the number of connections and their peer addresses in a human-friendly text/plain body.
Method | __init__ | Undocumented |
Method | render_GET | Handler for GET requests. See resource.Resource.render. |
Method | render_HEAD | Handler for HEAD requests. See resource.Resource.render. |
Method | _render_common | Undocumented |