check_mime_content_type

astropy.utils.xml.check.check_mime_content_type(content_type)[source]

Returns True if content_type is a valid MIME content type (syntactically at least), as defined by RFC 2045.