Representation of a content type. An instance of ContentType is immutable.
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.