haproxy/reg-tests/converter
Tim Duesterhus 3943e4fc3e MINOR: sample: Add iif(<true>,<false>) converter
iif() takes a boolean as input and returns one of the two argument
strings depending on whether the boolean is true.

This converter most likely is most useful to return the proper scheme
depending on the value returned by the `ssl_fc` fetch, e.g. for use within
the `x-forwarded-proto` request header.

However it can also be useful for use within a template that is sent to
the client using `http-request return` with a `lf-file`. It allows the
administrator to implement a simple condition, without needing to prefill
variables within the regular configuration using `http-request
set-var(req.foo)`.
2020-09-11 16:59:27 +02:00
..
digest.vtc
field.vtc
hmac.vtc
iif.vtc MINOR: sample: Add iif(<true>,<false>) converter 2020-09-11 16:59:27 +02:00
secure_memcmp.vtc
sha2.vtc