httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marion & Christophe JAILLET <christophe.jail...@wanadoo.fr>
Subject Re: svn commit: r1769900 - /httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en
Date Wed, 16 Nov 2016 06:01:11 GMT
Hi,

why removing compatibility note (i.e. 2.4.7) ?

CJ


Le 15/11/2016 à 23:57, elukey@apache.org a écrit :
> Author: elukey
> Date: Tue Nov 15 22:57:36 2016
> New Revision: 1769900
>
> URL: http://svn.apache.org/viewvc?rev=1769900&view=rev
> Log:
> documentation rebuild
>
> Modified:
>      httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en
>
> Modified: httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en?rev=1769900&r1=1769899&r2=1769900&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en (original)
> +++ httpd/httpd/trunk/docs/manual/mod/mod_headers.html.en Tue Nov 15 22:57:36 2016
> @@ -309,8 +309,16 @@ available in 2.4.10 and later</td></tr>
>   
>       <dt><code>setifempty</code></dt>
>       <dd>The request header is set, but only if there is no previous header
> -    with this name.<br />
> -    Available in 2.4.7 and later.</dd>
> +    with this name.
> +    <div class="note">
> +    The Content-Type header is a special use case since there might be
> +    the chance that its value have been determined but the header is not part
> +    of the response when <code>setifempty</code> is evaluated.
> +    It is safer to use <code>set</code> for this use case like in the
> +    following example:
> +    <pre class="prettyprint lang-config">Header set Content-Type "text/plain"
"expr=-z %{CONTENT_TYPE}"</pre>
> +
> +    </div></dd>
>   
>       <dt><code>unset</code></dt>
>       <dd>The response header of this name is removed, if it exists.
>
>
>


Mime
View raw message