def get_content_type(self):
        http_accept = self.request.META.get('HTTP_ACCEPT', [])
        if http_accept in "application/json":
            return "application/json"
        else:
            return "text/plain"
dataset/ETHPy150Open tangentlabs/django-fancypages/fancypages/mixins.py/JSONResponseMixin.get_content_type/swapped operands of `in`