supported:
- add-header <name> <fmt>
- allow
+ - capture <sample> id <id>
- del-header <name> [ -m <meth> ]
- replace-header <name> <regex-match> <replace-fmt>
- replace-value <name> <regex-match> <replace-fmt>
value is defined by <fmt>. Please refer to "http-request add-header" for a
complete description.
+http-after-response capture <sample> id <id> [ { if | unless } <condition> ]
+
+ This captures sample expression <sample> from the response buffer, and
+ converts it to a string. Please refer to "http-response capture" for a
+ complete description.
+
http-after-response allow [ { if | unless } <condition> ]
This stops the evaluation of the rules and lets the response pass the check.
.kw = {
{ "add-header", parse_http_set_header, 0 },
{ "allow", parse_http_allow, 0 },
+ { "capture", parse_http_res_capture, 0 },
{ "del-header", parse_http_del_header, 0 },
{ "replace-header", parse_http_replace_header, 0 },
{ "replace-value", parse_http_replace_header, 0 },