Set-Default-Type - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

ObjectType Stage
Examples
ObjectType fn=force-type type=text/plain
ObjectType fn=force-type lang=en_US
See Also
type-by-extension, type-by-exp

set-default-type

Applicable in
This function allows you to define a default
content-language
If the
response, then just before the headers are sent the defaults defined by
set-default-type
in
obj.conf
tree.
Parameters
enc
lang
charset
bucket
Example
ObjectType fn="set-default-type" charset="iso_8859-1"
76
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
-class directives.
ObjectType
for the response being sent back to the client.
,
charset
content-encoding
are used. Note that by placing this function in different objects
, you can define different defaults for different parts of the document
(optional) is the encoding assigned to a matching request (the
content-encoding header).
(optional) is the language assigned to a matching request (the
content-language header).
(optional) is the character set for the magnus-charset
parameter in rq->srvhdrs. If the browser sent the
Accept-charset header or its User-agent is mozilla/1.1
or newer, then append "; charset=
where
parameter in rq->srvhdrs.
optional, common to all obj.conf functions
charset
, and
content-language
charset
is the value of the magnus-charset
,
, and
content-encoding
have not been set for a
charset
" to content-type,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents