예제 #1
0
 def post_reset(cls, body, headers, content_type):
     """
     Handle a reset config post request
     :param content_type: content_type
     :param body: post body
     :param headers: post headers
     :return: success, status code, message, response_body, content_type
     """
     Config.set_config(Config.create_empty_config())
     Config.load()
     return True, 200, "OK", b"OK", None