From d5d07f1e830d1c4c646de5d93b645a2edb35b5d0 Mon Sep 17 00:00:00 2001
From: "Jason S. Lingohr" Apache's supports content negotiation as described in
+ Apache supports content negotiation as described in
the HTTP/1.1 specification. It can choose the best
representation of a resource based on the browser-supplied
preferences for media type, languages, character set and
@@ -33,8 +33,8 @@
incomplete negotiation information. Content negotiation is provided by the
- mod_negotiation
module.
- which is compiled in by default.mod_negotiation
module, which is compiled in
+ by default.
Apache supports 'server driven' content negotiation, as
defined in the HTTP/1.1 specification. It fully supports the
- Accept, Accept-Language, Accept-Charset and Accept-Encoding
+ Accept
, Accept-Language
,
+ Accept-Charset
andAccept-Encoding
request headers. Apache also supports 'transparent'
content negotiation, which is an experimental negotiation
protocol defined in RFC 2295 and RFC 2296. It does not offer
- support for 'feature negotiation' as defined in these RFCs.
A resource is a conceptual entity identified by a URI (RFC 2396). An HTTP server like Apache @@ -124,11 +125,13 @@ Negotiation
A type map is a document which is associated with the
handler named type-map
(or, for
backwards-compatibility with older Apache configurations, the
- mime type application/x-type-map
). Note that to
+ MIME type application/x-type-map
). Note that to
use this feature, you must have a handler set in the
configuration that defines a file suffix as
- type-map
; this is best done with a
type-map
; this is best done with
+
AddHandler type-map .var
in the server configuration file.
Type map files should have the same name as the resource @@ -157,7 +160,7 @@ Negotiation filename's extension, even when Multiviews is on. If the variants have different source qualities, that may be indicated by the "qs" parameter to the media type, as in this picture - (available as jpeg, gif, or ASCII-art):
+ (available as JPEG, GIF, or ASCII-art):
URI: foo
@@ -177,11 +180,11 @@ Negotiation
Variants with no 'qs' parameter value are given a qs factor of
1.0. The qs parameter indicates the relative 'quality' of this
variant compared to the other available variants, independent
- of the client's capabilities. For example, a jpeg file is
- usually of higher source quality than an ascii file if it is
+ of the client's capabilities. For example, a JPEG file is
+ usually of higher source quality than an ASCII file if it is
attempting to represent a photograph. However, if the resource
- being represented is an original ascii art, then an ascii
- representation would have a higher source quality than a jpeg
+ being represented is an original ASCII art, then an ASCII
+ representation would have a higher source quality than a JPEG
representation. A qs value is therefore specific to a given
variant depending on the nature of the resource it
represents.
Apache's supports content negotiation as described in +
Apache supports content negotiation as described in the HTTP/1.1 specification. It can choose the best representation of a resource based on the browser-supplied preferences for media type, languages, character set and @@ -16,8 +16,8 @@ incomplete negotiation information.
Content negotiation is provided by the
-
Apache supports 'server driven' content negotiation, as
defined in the HTTP/1.1 specification. It fully supports the
- Accept, Accept-Language, Accept-Charset and Accept-Encoding
+ Accept
, Accept-Language
,
+ Accept-Charset
andAccept-Encoding
request headers. Apache also supports 'transparent'
content negotiation, which is an experimental negotiation
protocol defined in RFC 2295 and RFC 2296. It does not offer
- support for 'feature negotiation' as defined in these RFCs.
A resource is a conceptual entity identified by a URI (RFC 2396). An HTTP server like Apache @@ -95,11 +96,13 @@
A type map is a document which is associated with the
handler named type-map
(or, for
backwards-compatibility with older Apache configurations, the
- mime type application/x-type-map
). Note that to
+ MIME type application/x-type-map
). Note that to
use this feature, you must have a handler set in the
configuration that defines a file suffix as
- type-map
; this is best done with a
type-map
; this is best done with
+
in the server configuration file.
Type map files should have the same name as the resource @@ -128,7 +131,7 @@ filename's extension, even when Multiviews is on. If the variants have different source qualities, that may be indicated by the "qs" parameter to the media type, as in this picture - (available as jpeg, gif, or ASCII-art):
+ (available as JPEG, GIF, or ASCII-art):