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:
Christopher Faulet 2023-11-27 18:27:47 +01:00
parent b2f82b2b51
commit 5d9c25bbea

View File

@ -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.