summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgaudet <dgaudet@unknown>1998-02-12 01:14:36 +0000
committerdgaudet <dgaudet@unknown>1998-02-12 01:14:36 +0000
commitcebb900e99085a76e3a8dfb8f99fb637fdb732ac (patch)
tree733c8e035678639e4ae4c8d36886226e8029c9eb
parent96b520b267193e71c3851a6ae79ad34efec4aaec (diff)
downloadhttpd-cebb900e99085a76e3a8dfb8f99fb637fdb732ac.tar.gz
doc the addencoding mess
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80193 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/mod_mime.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_mime.html b/docs/manual/mod/mod_mime.html
index eb3b405b97..83f115af2e 100644
--- a/docs/manual/mod/mod_mime.html
+++ b/docs/manual/mod/mod_mime.html
@@ -117,7 +117,21 @@ AddEncoding x-compress Z
</CODE></BLOCKQUOTE>
This will cause files ending in .gz to be marked as encoded using the x-gzip
-encoding, and .Z files to be marked as encoded with x-compress.<P><HR>
+encoding, and .Z files to be marked as encoded with x-compress.<P>
+
+Old clients expect <code>x-gzip</code> and <code>x-compress</code>,
+however the standard dictates that they're equivalent to <code>gzip</code>
+and <code>compress</code> respectively. Apache does content encoding
+comparisons by ignoring any leading <code>x-</code>. When responding
+with an encoding Apache will use whatever form (i.e. <code>x-foo</code>
+or <code>foo</code>) the client requested. If the client didn't
+specifically request a particular form Apache will use the form given by
+the <code>AddEncoding</code> directive. To make this long story short,
+you should always use <code>x-gzip</code> and <code>x-compress</code>
+for these two specific encodings. More recent encodings, such as
+<code>deflate</code> should be specified without the <code>x-</code>.
+
+<P><HR>
<H2><A name="addhandler">AddHandler</A></H2>