Mashups in EMML : Advanced Mashup Techniques : Setting the Mashup Response Character Encoding : Setting the HTTP Content Type Header in the Response
Setting the HTTP Content Type Header in the Response
To add the HTTP header for content type to the response, simply declare a variable in the mashup script with the appropriate name and value. For example:
<variables>
<variable name="httpResponse.Content-Type" type="string"
default="text/html; charset=ISO-8859-1"/>
</variables>
See Adding HTTP Headers to the Mashup Result for the full details.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback