The ContentType property of (Http)WebResponse maps to the HTTP/1.1 Content-Type which is a Media-Type that contains a type
/subtype
optionally followed by parameters which are attribute=value pairs.
I'm mainly interested in the type
/subtype
and the charset parameter.
The charset
is mapped from HttpWebRequest.CharacterSet.
Is there a library that just retrieves the media type
/subtype
of the ContentType?