]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
add a note about the incremental behaviour of language and encoding
authorAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 12:51:59 +0000 (12:51 +0000)
committerAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 12:51:59 +0000 (12:51 +0000)
extensions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101679 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_mime.html.en
docs/manual/mod/mod_mime.xml

index 03858c56ecfee307ff6ffa075666232654a75816..db3c44b0ebd824eb43b38a702983935fdfe50b00 100644 (file)
     <code>welcome.fr.html</code> will map onto exactly the same information.
     If more than one extension is given which maps onto the same
     type of meta-information, then the one to the right will be
-    used. For example, if <code>.gif</code> maps to the MIME-type
-    <code>image/gif</code> and <code>.html</code> maps to the MIME-type
-    <code>text/html</code>, then the file <code>welcome.gif.html</code>
-    will be associated with the MIME-type <code>text/html</code>.</p>
+    used, except for languages and content encodings. For example, if
+    <code>.gif</code> maps to the MIME-type <code>image/gif</code> and
+    <code>.html</code> maps to the MIME-type <code>text/html</code>, then the
+    file <code>welcome.gif.html</code> will be associated with the MIME-type
+    <code>text/html</code>.</p>
+
+    <p><a href="#charset-lang">Languages</a> and <a href="#contentencoding">content encodings</a> are treated accumulative, because one can assign
+    more than one language or encoding to a particular ressource. For example,
+    the file <code>welcome.html.en.de</code> will be delivered with
+    <code>Content-Language: en, de</code> and <code>Content-Type:
+    text/html</code>.</p>
 
     <p>Care should be taken when a file with multiple extensions
     gets associated with both a MIME-type and a handler. This will
     <code>.doc</code> extension is associated with the Microsoft
     Word file type, and the <code>.zip</code> extension is
     associated with the pkzip file encoding, then the file
-    <code>Resume.doc.zip</code>would be known to be a pkzip'ed Word
+    <code>Resume.doc.zip</code> would be known to be a pkzip'ed Word
     document.</p>
 
     <p>Apache sends a <code>Content-encoding</code> header with the
index b6c21474f4c68dba0d39af669ada5f01bd3e7681..a0e60379a724bb4d96431b159fba8fe6a59d462e 100644 (file)
@@ -87,10 +87,18 @@ module="mod_mime_magic">MimeMagicFile</directive></seealso>
     <code>welcome.fr.html</code> will map onto exactly the same information.
     If more than one extension is given which maps onto the same
     type of meta-information, then the one to the right will be
-    used. For example, if <code>.gif</code> maps to the MIME-type
-    <code>image/gif</code> and <code>.html</code> maps to the MIME-type
-    <code>text/html</code>, then the file <code>welcome.gif.html</code>
-    will be associated with the MIME-type <code>text/html</code>.</p>
+    used, except for languages and content encodings. For example, if
+    <code>.gif</code> maps to the MIME-type <code>image/gif</code> and
+    <code>.html</code> maps to the MIME-type <code>text/html</code>, then the
+    file <code>welcome.gif.html</code> will be associated with the MIME-type
+    <code>text/html</code>.</p>
+
+    <p><a href="#charset-lang">Languages</a> and <a href="#contentencoding"
+    >content encodings</a> are treated accumulative, because one can assign
+    more than one language or encoding to a particular ressource. For example,
+    the file <code>welcome.html.en.de</code> will be delivered with
+    <code>Content-Language: en, de</code> and <code>Content-Type:
+    text/html</code>.</p>
 
     <p>Care should be taken when a file with multiple extensions
     gets associated with both a MIME-type and a handler. This will
@@ -139,7 +147,7 @@ module="mod_mime_magic">MimeMagicFile</directive></seealso>
     <code>.doc</code> extension is associated with the Microsoft
     Word file type, and the <code>.zip</code> extension is
     associated with the pkzip file encoding, then the file
-    <code>Resume.doc.zip</code>would be known to be a pkzip'ed Word
+    <code>Resume.doc.zip</code> would be known to be a pkzip'ed Word
     document.</p>
 
     <p>Apache sends a <code>Content-encoding</code> header with the