From 6574dde8e0e750f7bc3240d2d94a35daa6915508 Mon Sep 17 00:00:00 2001
From: Nick Kew
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:
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 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