Sets the content-type for the specified MIME object and then serializes it to the Content-Type header field.
a Object
a ContentType object