check_mime_content_type

astropy.utils.xml.check.check_mime_content_type(content_type)[源代码]

返回 True 如果 content_type 是一个有效的MIME内容类型(至少在语法上),如rfc2045所定义。