def P_statusinfo(self, request): """ Request handler for the `/statusinfo` endpoint. Args: request (twisted.web.server.Request): HTTP request object Returns: HTTP response with headers """ return getStatusInfo(self)
def P_statusinfo(self, request): # we don't need to fill logs with this api (it's called too many times) self.suppresslog = True return getStatusInfo(self)