You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/10/29 21:35:03 UTC
svn commit: r1403484 - in /httpd/httpd/trunk/docs/manual: expr.html.en
expr.xml.fr
Author: sf
Date: Mon Oct 29 20:35:02 2012
New Revision: 1403484
URL: http://svn.apache.org/viewvc?rev=1403484&view=rev
Log:
xforms
Modified:
httpd/httpd/trunk/docs/manual/expr.html.en
httpd/httpd/trunk/docs/manual/expr.xml.fr
Modified: httpd/httpd/trunk/docs/manual/expr.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.html.en?rev=1403484&r1=1403483&r2=1403484&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.html.en (original)
+++ httpd/httpd/trunk/docs/manual/expr.html.en Mon Oct 29 20:35:02 2012
@@ -139,7 +139,9 @@ listfunction ::= listfuncname "<strong>(
<code>req</code> <a href="#functions">function</a>. Using these
variables may cause the header name to be added to the Vary
header of the HTTP response, except where otherwise noted for the
- directive accepting the expression.</p>
+ directive accepting the expression. The <code>req_novary</code>
+ <a href="#functions">function</a> may be used to circumvent this
+ behavior.</p>
<table class="bordered"><tr class="header"><th>Name</th></tr>
<tr><td><code>HTTP_ACCEPT</code></td></tr>
@@ -408,29 +410,32 @@ listfunction ::= listfuncname "<strong>(
<tr><td><code>req</code>, <code>http</code></td>
<td>Get HTTP request header; header names may be added to the Vary
header, see below</td><td /></tr>
-<tr class="odd"><td><code>resp</code></td>
+<tr class="odd"><td><code>req_novary</code></td>
+ <td>Same as <code>req</code>, but header names will not be added to the
+ Vary header</td><td /></tr>
+<tr><td><code>resp</code></td>
<td>Get HTTP response header</td><td /></tr>
-<tr><td><code>reqenv</code></td>
+<tr class="odd"><td><code>reqenv</code></td>
<td>Lookup request environment variable</td><td /></tr>
-<tr class="odd"><td><code>osenv</code></td>
+<tr><td><code>osenv</code></td>
<td>Lookup operating system environment variable</td><td /></tr>
-<tr><td><code>note</code></td>
+<tr class="odd"><td><code>note</code></td>
<td>Lookup request note</td><td /></tr>
-<tr class="odd"><td><code>env</code></td>
+<tr><td><code>env</code></td>
<td>Return first match of <code>note</code>, <code>reqenv</code>,
<code>osenv</code></td><td /></tr>
-<tr><td><code>tolower</code></td>
+<tr class="odd"><td><code>tolower</code></td>
<td>Convert string to lower case</td><td /></tr>
-<tr class="odd"><td><code>toupper</code></td>
+<tr><td><code>toupper</code></td>
<td>Convert string to uppser case</td><td /></tr>
-<tr><td><code>escape</code></td>
+<tr class="odd"><td><code>escape</code></td>
<td>Escape special characters in %hex encoding</td><td /></tr>
-<tr class="odd"><td><code>unescape</code></td>
+<tr><td><code>unescape</code></td>
<td>Unescape %hex encoded string, leaving encoded slashes alone;
return empty string if %00 is found</td><td /></tr>
-<tr><td><code>file</code></td>
+<tr class="odd"><td><code>file</code></td>
<td>Read contents from a file</td><td>yes</td></tr>
-<tr class="odd"><td><code>filesize</code></td>
+<tr><td><code>filesize</code></td>
<td>Return size of a file (or 0 if file does not exist or is not
regular file)</td><td>yes</td></tr>
</table>
@@ -441,7 +446,8 @@ listfunction ::= listfuncname "<strong>(
<p>When the functions <code>req</code> or <code>http</code> are used,
the header name will automatically be added to the Vary header of the
HTTP response, except where otherwise noted for the directive accepting
- the expression.</p>
+ the expression. The <code>req_novary</code> function can be used to
+ prevent names from being added to the Vary header.</p>
<p>In addition to string-valued functions, there are also list-valued functions which
take one string as argument and return a wordlist, i.e. a list of strings. The wordlist
Modified: httpd/httpd/trunk/docs/manual/expr.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.xml.fr?rev=1403484&r1=1403483&r2=1403484&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.xml.fr (original)
+++ httpd/httpd/trunk/docs/manual/expr.xml.fr Mon Oct 29 20:35:02 2012
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
-<!-- English Revision: 1362526:1403476 (outdated) -->
+<!-- English Revision: 1362526:1403483 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->