def set_permission(self, dataset_identifier, permission="private", content_type="json"):
        resource = "/api/views/{0}.{1}".format(dataset_identifier, content_type)
        params = {
            "method": "setPermission",
            "value": "public.read" if permission == "public" else permission
        }

        return self._perform_request("put", resource, params=params)
Parse a ``Content-Type`` like header into a tuple with the content
dataset/ETHPy150Open xmunoz/sodapy/sodapy/__init__.py/Socrata.set_permission--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/lib/werkzeug/http.py/parse_options_header