@property<EOL><INDENT>def encoding(self):<DEDENT>
if "<STR_LIT:;>" in self.mimetype:<EOL><INDENT>match = self.re_charset.search(self.mimetype)<EOL>gdict = match.groupdict() if match else {}<EOL>return gdict.get("<STR_LIT>") or "<STR_LIT:default>"<EOL><DEDENT>return "<STR_LIT:default>"<EOL>
Get encoding part of mimetype, or "default" if not available.

:returns: file conding as returned by mimetype function or "default"
:rtype: str