check_mime_content_type

astropy.io.votable.xmlutil.check_mime_content_type(content_type, config={}, pos=None) [edit on github][source]

Raises a VOTableSpecError if content_type is not a valid MIME content type.

As defined by RFC 2045 (syntactically, at least).

Page Contents