From: Eric Covener Date: Wed, 29 Dec 2010 03:42:56 +0000 (+0000) Subject: xforms X-Git-Tag: 2.2.18~217 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc38c45e72e51435b3ecefd9c598fc93d827391;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1053529 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_headers.html.en b/docs/manual/mod/mod_headers.html.en index 5bca4101e98..80e12ca7d54 100644 --- a/docs/manual/mod/mod_headers.html.en +++ b/docs/manual/mod/mod_headers.html.en @@ -214,18 +214,32 @@ headers and output filters are run, allowing outgoing headers to be modified.

-

By default, this directive only affects successful responses (responses - in the 2xx range). The optional condition - can be either onsuccess (default) or always (all - status codes, including successful responses). A value of always - may be needed to influence headers set by some internal modules even for - successful responses, and is always needed to affect non-2xx - responses such as redirects or client errors.

- -

CGI

-

To manipulate headers set by CGI scripts, it is necessary to specify - always for the first parameter.

-
+

The optional condition argument determines which internal + table of responses headers this directive will operate against. Other + components of the server may have stored their response headers in either + the table that corresponds to onsuccess or the table that + corresponds to always. "Always" in this context refers to + whether headers you add will be sent during both a successful and unsucessful + response, but if your action is a function of an existing header, you + will have to read on for further complications.

+ +

The default value of onsuccess may need to be changed to + always under the circumstances similar to those listed below + Note also that repeating this directive with both conditions makes sense in + some scenarios because always is not a superset of + onsuccess with respect to existing headers:

+ +

The action it performs is determined by the first argument (second argument if a condition is specified).