def METHOD_NAME(self) -> None:  # noqa: N802
    parsed_path = urlparse(self.path)
    path_query = parse_qs(parsed_path.query)
    body = None
    content_length = self.headers.get("Content-Length")
    if content_length is not None:
        body = self.rfile.read(int(content_length))
    method_name = MethodName.GET
    request = MockHTTPRequest(
        method_name,
        self.path,
        parsed_path,
        path_query,
        self.headers,
        body,
    )
    logging.debug("handling %s request: %s", method_name, request)
    logging.debug("headers %s", request.headers)
    resource_path = parsed_path.path
    if resource_path not in self.server._resources:
        self.send_error(404, "File not found")
        return
    resource = self.server._resources[resource_path]
    if isinstance(resource, FileResource):
        self.send_response(200)
    elif isinstance(resource, RedirectResource):
        self.send_response(resource.status)
        self.send_header("Location", resource.location)
    apply_headers_to(resource.headers, self)
    self.end_headers()
    if isinstance(resource, FileResource):
        with resource.file_path.open("rb") as f:
            self.wfile.write(f.read())
            self.wfile.flush()
    return