content-type
The content-type function returns the media type (Content-Type) of the MIME entity supplied as argument.

Languages
Built-in.
Parameters
Name | Type | Description |
---|---|---|
entity | mf:MimeEntity | The MIME entity content. |
Example
If a mapping calls a web service that returns a Content-Type header as text/json; charset=utf-8, then the function output is also text/json; charset=utf-8.
