def METHOD_NAME(self, req: Request) -> http.client.HTTPResponse:
    if req.get_full_url() == context_file_served.request_url:
        raise PermissionError("access blocked")
    return super().METHOD_NAME(req)