check_mime_content_type¶
-
astropy.io.votable.xmlutil.
check_mime_content_type
(content_type, config=None, pos=None)[source] [edit on github]¶ Raises a
VOTableSpecError
if content_type is not a valid MIME content type.As defined by RFC 2045 (syntactically, at least).