def _content_type_params__get(self):
        """
        A dictionary of all the parameters in the content type.

        (This is not a view, set to change, modifications of the dict would not be
        applied otherwise)
        """
        if not self._headers in 'content-type':
            return {}

        params = self._headers.get('content-type')
        if ';' not in params[1]:
            return {}
        params = params[1].split(';', 1)[1]
        result = {}
        for match in _PARAM_RE.finditer(params):
            result[match.group(1)] = match.group(2) or match.group(3) or ''
        return result
dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/wrappers.py/WMResponse._content_type_params__get/swapped operands of `in`