Cyclone3 Skin

Change Content-Type of servicetype

From Cyclone3 Wiki

If you need to change the content type only for a given type file, you can do so using a CONF_VAR tag.

  • Example - changing the type's output to PDF format:
<CONF_VAR id="Content-Type" value="application/pdf" />

Note: This not only changes the current HTTP content type header, it does convert the (X)HTML output to the specified content type using htmldoc.