MashZone NextGen 10.2 | 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 © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release