code: def options(self, request, *args, **kwargs):
          
          if self.metadata_class is None:
              return self.http_method_not_allowed(request, *args, **kwargs)
          data = self.metadata_class().determine_metadata(request, self)
          return Response(data, status=status.HTTP_200_OK)
docs: Handler method for HTTP 'OPTIONS' request.