def transform_request(self, request_body=None): path, params = tools.parse_request(self.path, request_body) context = tools.build_context(params, self) body, code, headers = web.process(self.command, path, params, context) self.generate_response(body, code, headers)
def transform_request(self, request_body=None): path, params = tools.parse_request(self.path, request_body) context = tools.build_context(params, self.app, self) body, code, headers = FuqitHandler.app.process(self.command, path, params, context) self.generate_response(body, code, headers)