Substitution format string
Configuration to use multiple command operators to generate a new string in either plain text or JSON format.
text_format
() Specify a format with command operators to form a text string. Its details is described in format string.
For example, setting like below,
text_format: "%LOCAL_REPLY_BODY%:%RESPONSE_CODE%:path=%REQ(:path)%\n"
Precisely one of , json_format must be set.
json_format
() Specify a format with command operators to form a JSON string. Its details is described in format dictionary. Values are rendered as strings, numbers, or boolean values as appropriate. Nested JSON objects may be produced by some command operators (e.g. FILTER_STATE or DYNAMIC_METADATA). See the documentation for a specific command operator for details.
message: "%LOCAL_REPLY_BODY%"
The following JSON object would be created:
omit_empty_values
() If set to true, when command operators are evaluated to null,
for
json_format
the keys with null values are omitted in the output structure.
(string) Specify a content_type field. If this field is not set then text/plain
is used for text_format and is used for json_format.
content_type: "text/html; charset=UTF-8"