def METHOD_NAME(self, request, *args, **kwargs):
    # pylint: disable=attribute-defined-outside-init
    self.object_list = self.filter_queryset(self.get_queryset())
    headers = get_openrosa_headers(request, location=False)
    serializer = self.get_serializer(self.object_list, many=True)
    if request.method in ["HEAD"]:
        return Response("", headers=headers, status=204)
    return Response(serializer.data, headers=headers)