1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

mention that "Header onsuccess" is the default and reword the description

of "Header always" to talk less about implementation details and more about
the FAQ of redirects or 401's.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@826005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2009-10-16 17:03:55 +00:00
parent 3d47d2cc41
commit fc84ba8cee
2 changed files with 14 additions and 12 deletions

View File

@@ -217,12 +217,13 @@ headers</td></tr>
and output filters are run, allowing outgoing headers to be
modified.</p>
<p>The optional <var>condition</var> can be either <code>onsuccess</code>
or <code>always</code>. It determines, which internal header table should be
operated on. <code>onsuccess</code> stands for <code>2<var>xx</var></code>
status codes and <code>always</code> for all status codes (including
<code>2<var>xx</var></code>). Especially if you want to unset headers
set by certain modules, you should try out, which table is affected.</p>
<p>By default, this directive only affects successful responses (responses
in the <code>2<var>xx</var></code> range). The optional <var>condition</var>
can be either <code>onsuccess</code> (default) or <code>always</code> (all
status codes, including successful responses). A value of <code>always</code>
may be needed to influence headers set by some internal modules even for
successful responses, and is always needed to affect non-<code>2<var>xx</var></code>
responses such as redirects or client errors</p>.
<p>The action it performs is determined by the second
argument. This can be one of the following values:</p>

View File

@@ -302,12 +302,13 @@ headers</description>
and output filters are run, allowing outgoing headers to be
modified.</p>
<p>The optional <var>condition</var> can be either <code>onsuccess</code>
or <code>always</code>. It determines, which internal header table should be
operated on. <code>onsuccess</code> stands for <code>2<var>xx</var></code>
status codes and <code>always</code> for all status codes (including
<code>2<var>xx</var></code>). Especially if you want to unset headers
set by certain modules, you should try out, which table is affected.</p>
<p>By default, this directive only affects successful responses (responses
in the <code>2<var>xx</var></code> range). The optional <var>condition</var>
can be either <code>onsuccess</code> (default) or <code>always</code> (all
status codes, including successful responses). A value of <code>always</code>
may be needed to influence headers set by some internal modules even for
successful responses, and is always needed to affect non-<code>2<var>xx</var></code>
responses such as redirects or client errors</p>.
<p>The action it performs is determined by the second
argument. This can be one of the following values:</p>