def handle_request(self, request):
    response = Response()
    (handler, kwargs) = self.find_handler(request_path=request.path)
    if (handler is not None):
        handler(request, response, **kwargs)
    else:
        self.default_response(response)
    return response
def handle_request(self, request):
    response = Response()
    (handler, kwargs) = self.find_handler(request_path=request.path)
    if (handler is not None):
        handler(request, response, **kwargs)
    else:
        self.default_response(response)
    return response