Method HttpMessagePart() :setContentType() Foundation
Sets the content type.
:setContentType( <cMIMEType> ) --> self
A character string specifying the media type of the resource that is requested. The string must contain one of the standardized MIME (Multipurpose Internet Mail Extension) types. A MIME type generally has the form "type/subtype". Examples are "text/html", "image/jpeg" or "application/octet-stream". A full list of the offical MIME types currently registered is available here: https://www.iana.org/assignments/media-types/media-types.xhtml.
:setContentType() returns the object executing the method.
The method :setContentType() specifies the content type of the content of this message part object.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.