Zephr User Guide

Modify Response

55 views 0

The decision nodes that area available under the Modify Response segment tile as as follows:

Add Header

Use this decision node to alter a header as a key-value pair.

Adding this into the flow of a request rule will prompt you to input details for the header you wish to alter, in the form of a key/value pair.

Enter the response header to alter in the Header text box, and the value to replace it with in the Value text box.

Select the Save button to save your changes. Selecting the Cancel button closes the dialog box without adding an Add Header decision node.

You can add further decision nodes to your rule after the Add Header decision node.

Clear Headers

Use this decision node to clear all origin response headers when an end user encounters this part of the rule.

No further configuration is required for this decision node.

You can add further decision nodes to your rule after the Clear Headers decision node.

Remove Headers

Use this decision node to remove the specified response header.

Enter the response header to remove in the Header text box.

Select the Save button to save your changes. Selecting the Cancel button closes the dialog box without adding a Remove Header decision node.

You can add further decision nodes to your rule after the Remove Header decision node.

Replace Body

Use this decision node to replace the body of the response.

Enter the body of the response to use in the Body Value text box.

Select the Save button to save your changes. Selecting the Cancel button closes the dialog box without adding a Replace Body decision node.

You can add further decision nodes to your rule after the Replace Body decision node.