def parse_content_type(headers: MutableMapping) -> Tuple[Optional[str], str]:
content_type = headers.get("<STR_LIT>")<EOL>if not content_type:<EOL><INDENT>return None, "<STR_LIT:utf-8>"<EOL><DEDENT>else:<EOL><INDENT>type_, parameters = cgi.parse_header(content_type)<EOL>encoding = parameters.get("<STR_LIT>", "<STR_LIT:utf-8>")<EOL>return type_, encoding<EOL><DEDENT>
Find content-type and encoding of the response

Args:
    headers: Response headers

Returns:
    :py:class:`tuple` (content-type, encoding)