def _get_encoding_from_headers(headers):
if headers and "<STR_LIT:Content-Type>" in headers:<EOL><INDENT>content_type, params = cgi.parse_header(headers["<STR_LIT:Content-Type>"])<EOL>if "<STR_LIT>" in params:<EOL><INDENT>return params['<STR_LIT>']<EOL><DEDENT><DEDENT>return None<EOL>
Determine if we have any encoding information in our headers.