werkzeug.FileStorage.mimetype

FileStorage.mimetype

Like content_type, but without parameters (eg, without charset, type etc.) and always lowercase. For example if the content type is text/HTML; charset=utf-8 the mimetype would be 'text/html'.

New in version 0.7.