$Web_Output_Type

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Retrieve current output mime-type


$Web_Output_Type retrieves the current output mime-type set either by JANUS WEB ON rules or by the $Web_Type function.

Syntax

%str = $Web_Output_Type

$Web_Output_Type takes no arguments and returns a string.

This function might prove useful in determining the meaning of the contents of the output stream in code that is shared among many applications — though it is highly dependent on those applications having already set $Web_Type.

The current output contents can be retrieved with $Web_Output_Content.

See also