Provided by: aolserver4-dev_4.5.1-16_amd64
NAME
ns_adp_mimetype - 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.
SEE ALSO
ns_adp(n), ns_adp_flush(n), ns_adp_close(n), Ns_ConnSetType(3)
KEYWORDS
ADP, dynamic pages, buffer, mimetype, encoding