Appendix B Mime Types; Introduction - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

This appendix discusses the MIME types file. The sections are:

Introduction

Determining the MIME Type
How the Type Affects the Response
What Does the Client Do with the MIME Type?
Syntax of the MIME Types File
Sample MIME Types File
Introduction
The MIME types file in the
(Multipurpose Internet Mail Extensions) types and file extensions. For example, the
MIME types file maps the extensions
type=text/html exts=htm,html
When the Netscape Enterprise Server receives a request for a resource from a
client, it uses the MIME type mappings to determine what kind of resource is being
requested.
MIME types are defined by three attributes: language (
content-type (
The most commonly used attribute is
type
attributes are rarely used.)
The default MIME types file is called
). At least one of these attributes must be present for each type.
type
when deciding how to generate the response to the client. (The
directory contains mappings between MIME
config
and
.html
.htm
. The server frequently considers the
type
mime.types
Appendix B
MIME Types
to the type
text/html
), encoding (
lang
enc
.
:
), and
enc
and
lang
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents