'Create MIME type (string), eg. "image/png"
If it returns None, "application/octet-stream" is used.'

def createMimeType(self):

    if ('mime' in self.PARSER_TAGS):
        return self.PARSER_TAGS['mime'][0]
    return None
