@property<EOL><INDENT>def charset(self, default='<STR_LIT>'):<DEDENT>
if '<STR_LIT>' in self.content_type:<EOL><INDENT>return self.content_type.split('<STR_LIT>')[-<NUM_LIT:1>].split('<STR_LIT:;>')[<NUM_LIT:0>].strip()<EOL><DEDENT>return default<EOL>
Return the charset specified in the content-type header (default: utf8).