Altova MapForce 2024 Enterprise Edition

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

mf-func-content-type

 

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.

mf-func-content-type-example

© 2018-2024 Altova GmbH