@property<EOL><INDENT>def category(self):<DEDENT>
return self.type.split('<STR_LIT:/>', <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>
Get mimetype category (first portion of mimetype before the slash).

:returns: mimetype category
:rtype: str

As of 2016-11-03's revision of RFC2046 it could be one of the
following:
    * application
    * audio
    * example
    * image
    * message
    * model
    * multipart
    * text
    * video