content-type

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > mime >

content-type

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

mf-func-content-type

 

Arguments

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


© 2019 Altova GmbH