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