commit | 218f064f55b80b1d2677dee8da26de35faa992e6 | [log] [tgz] |
---|---|---|
author | Sasha Pachev <sasha@asksasha.com> | Mon Jun 16 12:05:59 2014 -0600 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 17 18:34:32 2014 +0200 |
tree | 5d9ef1df140460a15c04165ba5141083d7463e82 | |
parent | f5b1cc38b83436b95221ffcf7e8f1c7ab1bad3b8 [diff] |
MEDIUM: http: add actions "replace-header" and "replace-values" in http-req/resp This patch adds two new actions to http-request and http-response rulesets : - replace-header : replace a whole header line, suited for headers which might contain commas - replace-value : replace a single header value, suited for headers defined as lists. The match consists in a regex, and the replacement string takes a log-format and supports back-references.