flask.Request.mimetype¶
-
Request.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-8the mimetype would be'text/html'.
Request.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'.