Return-Path:
Delivered-To: apmail-httpd-cvs-archive@www.apache.org
Received: (qmail 37783 invoked from network); 15 Oct 2007 18:38:13 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2)
by minotaur.apache.org with SMTP; 15 Oct 2007 18:38:13 -0000
Received: (qmail 79660 invoked by uid 500); 15 Oct 2007 18:38:00 -0000
Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org
Received: (qmail 79609 invoked by uid 500); 15 Oct 2007 18:38:00 -0000
Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm
Precedence: bulk
Reply-To: dev@httpd.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list cvs@httpd.apache.org
Received: (qmail 79598 invoked by uid 99); 15 Oct 2007 18:38:00 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 11:38:00 -0700
X-ASF-Spam-Status: No, hits=-100.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 18:38:12 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id 91B4D1A9832; Mon, 15 Oct 2007 11:37:21 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r584842 - /httpd/httpd/trunk/docs/manual/mod/core.xml
Date: Mon, 15 Oct 2007 18:37:21 -0000
To: cvs@httpd.apache.org
From: niq@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20071015183721.91B4D1A9832@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: niq
Date: Mon Oct 15 11:37:20 2007
New Revision: 584842
URL: http://svn.apache.org/viewvc?rev=584842&view=rev
Log:
Improve documentation of "DefaultType None"
Modified:
httpd/httpd/trunk/docs/manual/mod/core.xml
Modified: httpd/httpd/trunk/docs/manual/mod/core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/core.xml?rev=584842&r1=584841&r2=584842&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/core.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/core.xml Mon Oct 15 11:37:20 2007
@@ -545,8 +545,9 @@
document whose type cannot be determined by its MIME types mappings.
- The server must inform the client of the content-type of the
- document, so in the event of an unknown type it uses the
+
The server SHOULD inform the client of the content-type of the
+ document. If the server is unable to determine this by normal
+ means, it will set it to the configured
DefaultType
. For example:
@@ -556,16 +557,14 @@
would be appropriate for a directory which contained many GIF
images with filenames missing the .gif
extension.
- Sometimes it may be better to omit the MIME type altogether if it
- cannot be determined by the server. This can be accomplished using
+ In cases where it can neither be determined by the server nor
+ the administrator (e.g. a proxy), it is preferable to omit the MIME
+ type altogether rather than provide information that may be false.
+ This can be accomplished using
DefaultType None
DefaultType None is only available in httpd-2.2.7 and later.
-
- This can be suppressed by setting DefaultType None
.
- With this setting, Apache will omit any Content-Type
- header if it not able to determine the correct MIME type.
Note that unlike ForceType, this directive only