DOC: config: fix mention of request slot in http-response capture

It's response slot, not request slot.
This commit is contained in:
Willy Tarreau 2023-11-30 09:24:21 +01:00
parent 2b6c72abd2
commit 6282b8f361

View File

@ -8303,12 +8303,12 @@ http-response cache-store <name> [ { if | unless } <condition> ]
http-response capture <sample> id <id> [ { if | unless } <condition> ]
This captures sample expression <sample> from the response buffer, and
converts it to a string. The resulting string is stored into the next request
"capture" slot, so it will possibly appear next to some captured HTTP
headers. It will then automatically appear in the logs, and it will be
converts it to a string. The resulting string is stored into the next
response "capture" slot, so it will possibly appear next to some captured
HTTP headers. It will then automatically appear in the logs, and it will be
possible to extract it using sample fetch rules to feed it into headers or
anything. Please check section 7.3 (Fetching samples) and
"capture response header" for more information.
anything. Please check section 7.3 (Fetching samples) and "capture response
header" for more information.
The keyword "id" is the id of the capture slot which is used for storing the
string. The capture slot must be defined in an associated frontend.