Creates a new content type object from parsing a Content-Type
header value. As primary type, sub type and parameter names and
values are not case sensitive all these values will be converted
to lower case. Parsing this string
Creates a new content type object setting the primary type and
sub type. The charset and additional parameters can also be set
using charset and parameters. If charset is passed and
parameters contains charset as well the passed charset will
override the value in parameters. Keys passed in parameters will be
converted to lower case. The charset entry, whether passed as charset
or in parameters, will have its value converted to lower-case.