'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)'

def _content_type_params__get(self):

    params = self.headers.get('Content-Type', '')
    if (';' not in params):
        return {}
    params = params.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
