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)
Пример #2
0
	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)
Пример #3
0
 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)