mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 10:36:55 +00:00
DOC: config: Improve 'status' sample documentation
We clearly state the 'status' sample returns the status code the client will receive, if no change happens on the HTTP response. This should avoid ambiguities with the 'server-status' sample fetch.
This commit is contained in:
parent
b2f82b2b51
commit
5d9c25bbea
@ -22838,7 +22838,9 @@ set-cookie([<name>]) : string (deprecated)
|
||||
status : integer
|
||||
Returns an integer containing the HTTP status code in the HTTP response, for
|
||||
example, 302. It is mostly used within ACLs and integer ranges, for example,
|
||||
to remove any Location header if the response is not a 3xx.
|
||||
to remove any Location header if the response is not a 3xx. It will be the
|
||||
status code received by the client if it is not changed, via a 'set-status'
|
||||
action for instance.
|
||||
|
||||
It may be used in tcp-check based expect rules.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user