This repository has been archived on 2022-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
lets/handlers/apiStatusHandler.py

13 lines
244 B
Python
Raw Permalink Normal View History

2018-12-09 05:15:56 +00:00
import json
from common.web import requestsManager
class handler(requestsManager.asyncRequestHandler):
"""
Handler for /api/v1/status
"""
def asyncGet(self):
self.write(json.dumps({"status": 200, "server_status": 1}))
#self.finish()