extension
Use the extension stanza entry to map document extensions to encoding types. WebSEAL uses this mapping to report the correct MIME type in its response content-type header for local junction files.
extension = encoding_typeDescription
Entries in this stanza map a document extension to an encoding type. This mapping is used by WebSEAL to report the correct MIME type in its response content-type header for local junction files. This mapping is necessary so that WebSEAL can communicate to a browser that encoded (binary) data is being returned.
The MIME types defined in this stanza must also be defined in [content-mime-types].
When WebSEAL encounters a document with two extensions, such as: .txt.Z, it produces two headers:
content-type: text/plain content-encoding: x-compressThus even though the data is compressed, the response to the browser says text/plain. However, the extra content-encoding header tells the browser that the data is compressed text/plain.
In most cases, the administrator does not need to add additional entries. However, if the administrator introduces a new extension type that requires more than a text/plain response, the extension and encoding_type should be added to this stanza.
Options
encoding_type Encoding type.
Usage:
This stanza entry is required.
Default:
gz = x-gzip Z = x-compressExample:
gz = x-gzip Z = x-compressParent topic: [content-encodings] stanza