Overview Module Function Class I*Tea 3.6.8 Reference Documentation© 2013 PDM&FC

Function itea-set-content-type

itea-set-content-type contentType

Sets the MIME type of the document that is sent back to the browser.

Parameters:
contentType - String representing a MIME type.

Specifies the MIME type of the document that is returned to the browser. If this function is not called during the processing of a request the MIME type "text/html" is used. The itea-set-content-type function can be called any time during the processing of a request. Only the contentType passed in the last invocation will be significant.

Overview Module Function Class ${tea.teadoc.header}
Report a bug or request new features
© 2013