def _content_type__get(self):
header = self.headers.get('<STR_LIT:Content-Type>')<EOL>if not header:<EOL><INDENT>return None<EOL><DEDENT>return header.split('<STR_LIT:;>', <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>
Get/set the Content-Type header (or None), *without* the
charset or any parameters.

If you include parameters (or ``;`` at all) when setting the
content_type, any existing parameters will be deleted;
otherwise they will be preserved.