ns_adp_mimetype(3) Set output mimetype.

SYNOPSIS

ns_adp_mimetype ?mimetype?




DESCRIPTION

This command can be used to query the output mimetype for the HTTP connection of an ADP. If the optional mimetype argument is specified, it is used to first set the mimetype to the given value. Updating the mimetype will invoke code to adjust output encoding if necessary, see Ns_ConnSetType for details.

KEYWORDS

ADP, dynamic pages, buffer, mimetype, encoding