]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: add some information on capture.(req|res).hdr
authorWilliam Lallemand <wlallemand@exceliance.fr>
Tue, 4 Feb 2014 20:04:21 +0000 (21:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Feb 2014 22:26:27 +0000 (23:26 +0100)
Clarify the beginning of the index.

doc/configuration.txt

index 95f8eecdb3da2ee353e1b122d802f04b4ce3a35f..014d9db1680ee5db2d07a0d177e45a06616c1b91 100644 (file)
@@ -10604,11 +10604,13 @@ cookie([<name>]) : string (deprecated)
 capture.req.hdr(<idx>) : string
   This extracts the content of the header captured by the "capture request
   header", idx is the position of the capture keyword in the configuration.
+  The first entry is an index of 0.
   See also: "capture request header"
 
 capture.res.hdr(<idx>) : string
   This extracts the content of the header captured by the "capture response
   header", idx is the position of the capture keyword in the configuration.
+  The first entry is an index of 0.
   See also: "capture response header"
 
 hdr([<name>[,<occ>]]) : string