ns_adp_mimetype(3) Set output mimetype.


ns_adp_mimetype ?mimetype?


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.


ADP, dynamic pages, buffer, mimetype, encoding