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.
|
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()
|