From cebb900e99085a76e3a8dfb8f99fb637fdb732ac Mon Sep 17 00:00:00 2001 From: dgaudet Date: Thu, 12 Feb 1998 01:14:36 +0000 Subject: doc the addencoding mess git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80193 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_mime.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 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.


+encoding, and .Z files to be marked as encoded with x-compress.

+ +Old clients expect x-gzip and x-compress, +however the standard dictates that they're equivalent to gzip +and compress respectively. Apache does content encoding +comparisons by ignoring any leading x-. When responding +with an encoding Apache will use whatever form (i.e. x-foo +or foo) the client requested. If the client didn't +specifically request a particular form Apache will use the form given by +the AddEncoding directive. To make this long story short, +you should always use x-gzip and x-compress +for these two specific encodings. More recent encodings, such as +deflate should be specified without the x-. + +


AddHandler

-- cgit v1.2.1