Integrate Software AG Products Using Digital Event Services : MashZone NextGen Help : Appendix : Legacy Presto components : Mashables and Mashups : 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 © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback