From d4a55d6a6308c6695e7ffc07344f22a03dc2dd5d Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 29 Oct 2012 20:35:02 +0000 Subject: [PATCH] xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1403484 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/expr.html.en | 32 +++++++++++++++++++------------- docs/manual/expr.xml.fr | 2 +- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index 27e6918b61..be221c0ce6 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -139,7 +139,9 @@ listfunction ::= listfuncname "(" word ")" req function. 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.

+ directive accepting the expression. The req_novary + function may be used to circumvent this + behavior.

@@ -408,29 +410,32 @@ listfunction ::= listfuncname "(" word ")" - + + + - + - + - + - + - + - + - + - + - + - +
Name
HTTP_ACCEPT
req, http Get HTTP request header; header names may be added to the Vary header, see below
resp
req_novarySame as req, but header names will not be added to the + Vary header
resp Get HTTP response header
reqenv
reqenv Lookup request environment variable
osenv
osenv Lookup operating system environment variable
note
note Lookup request note
env
env Return first match of note, reqenv, osenv
tolower
tolower Convert string to lower case
toupper
toupper Convert string to uppser case
escape
escape Escape special characters in %hex encoding
unescape
unescape Unescape %hex encoded string, leaving encoded slashes alone; return empty string if %00 is found
file
file Read contents from a fileyes
filesize
filesize Return size of a file (or 0 if file does not exist or is not regular file)yes
@@ -441,7 +446,8 @@ listfunction ::= listfuncname "(" word ")"

When the functions req or http 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.

+ the expression. The req_novary function can be used to + prevent names from being added to the Vary header.

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 diff --git a/docs/manual/expr.xml.fr b/docs/manual/expr.xml.fr index c3b1b76fce..4dc486373e 100644 --- a/docs/manual/expr.xml.fr +++ b/docs/manual/expr.xml.fr @@ -1,7 +1,7 @@ - + -- 2.49.0