From c93da3dfe498e30e427811d4a9a7dc8325d33d99 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Fri, 27 Aug 2010 11:50:20 +0000 Subject: [PATCH] doc updates around why a few directives can't set arbitrary Content-Types for non-static responses. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@990109 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 6 ++++++ docs/manual/mod/mod_headers.xml | 2 +- docs/manual/mod/mod_mime.xml | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index b83b998c7e..6f5956b6ae 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1276,6 +1276,12 @@ media type in the HTTP Content-Type header field </Location> + +

This directive primarily overrides the content types generated for + static files served out of the filesystem. For resources other than + static files, where the generator of the response typically specifies + a Content-Type, this directive has no effect.

+ diff --git a/docs/manual/mod/mod_headers.xml b/docs/manual/mod/mod_headers.xml index 565715126c..e559a3c0d7 100644 --- a/docs/manual/mod/mod_headers.xml +++ b/docs/manual/mod/mod_headers.xml @@ -447,7 +447,7 @@ headers Header directives are processed just before the response is sent to the network. These means that it is possible to set and/or override most headers, except for those headers - added by the header filter.

+ added by the HTTP header filter, such as Content-Type.

diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml index a433e6749c..c94681ea7e 100644 --- a/docs/manual/mod/mod_mime.xml +++ b/docs/manual/mod/mod_mime.xml @@ -554,6 +554,12 @@ type href="#multipleext">multiple extensions and the extension argument will be compared against each of them.

+ +

This directive primarily configures the content types generated for + static files served out of the filesystem. For resources other than + static files, where the generator of the response typically specifies + a Content-Type, this directive has no effect.

+ ForceType -- 2.50.1