Example
Text in Expression Editor:
Selected operation under Modify response header: Set dynamic
Header name: X-Bot-Score
Value: to_string(cf.bot_management.score)
The following HTTP response header modification rule sets a header named X-Bot-Score
to the current bot score in the response:
Example
Text in Expression Editor:
Selected operation under Modify response header: Set dynamic
Header name: X-Bot-Score
Value: to_string(cf.bot_management.score)
This rule would overwrite any existing X-Bot-Score
headers already present in the response.