We current have only one option for canary releases, setting a header's key:value with it's literal value but sometimes there is a need of getting key:$REGULAR_EXPRESSION instead. To attend this request this PR adds support to canary releases using regexp for it's value passing a flag --regexp.
We current have only one option for canary releases, setting a header's
key:value
with it's literal value but sometimes there is a need of gettingkey:$REGULAR_EXPRESSION
instead. To attend this request this PR adds support to canary releases using regexp for it's value passing a flag--regexp
.Ex:
In this example a new rule will be set and if request' header value for
blau
is18534126
or123
or1023192
it will be forwarded to-p version=1.1.1
The default value is
--exact
.