parse_header

sunpy.util.net.parse_header(line)[source]

Parse a Content-type like header.

Return the main content-type and a dictionary of options.