summaryrefslogtreecommitdiffstats
path: root/docs/manual/content-negotiation.html
diff options
context:
space:
mode:
authorpcs <pcs@unknown>1998-12-04 18:37:06 +0100
committerpcs <pcs@unknown>1998-12-04 18:37:06 +0100
commitf3ace6ab38f80f97ffb0e46d1df632a46252cb99 (patch)
tree66187cd5e11707ac47b7803b760824c9ed003e69 /docs/manual/content-negotiation.html
parentActually, without a DefaultLanguage documents are considered to have _no_ (diff)
downloadapache2-f3ace6ab38f80f97ffb0e46d1df632a46252cb99.tar.xz
apache2-f3ace6ab38f80f97ffb0e46d1df632a46252cb99.zip
Fix negotiation so that we prefer an encoded variant over an unencoded
variant if the user-agent explicitly says it can accept that encoding. Previously we always preferred the unencoded variant. PR: 3447 Submitted by: Paul Ausbeck <paula@alumni.cse.ucsc.edu> Reviewed by: Paul Sutton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82443 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/content-negotiation.html')
-rw-r--r--docs/manual/content-negotiation.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/manual/content-negotiation.html b/docs/manual/content-negotiation.html
index 73e534e6f9..72d5a1356d 100644
--- a/docs/manual/content-negotiation.html
+++ b/docs/manual/content-negotiation.html
@@ -301,9 +301,12 @@ remains, move onto the next test.
<LI>Select the variants with the highest 'level' media parameter
(used to give the version of text/html media types).
-<LI>Select only unencoded variants, if there is a mix of encoded
- and non-encoded variants. If either all variants are encoded
- or all variants are not encoded, select all.
+<LI>Select the variants with the best encoding. If there are
+ variants with an encoding that is acceptable to the user-agent,
+ select only these variants. Otherwise if there is a mix of encoded
+ and non-encoded variants, select only the unencoded variants.
+ If either all variants are encoded or all variants are not encoded,
+ select all variants.
<LI>Select only variants with acceptable charset media parameters,
as given on the Accept-Charset header line. Charset ISO-8859-1