Responses
The decision nodes that area available under the Responses segment tile as as follows:
- Allow
- Deny
- Response Status
- Redirect
- Preserve Origin Status
All decision nodes under the Responses segment title provide outcomes for your rule. This means that you cannot add further decision nodes to your rule after using one of these decision nodes.
Allow
Use this decision node to allow access to the request.
By default, returns a status code of 200. You can change this by updating the entry in the Status Code text box.
Select the Save button to save the details. Selecting the Cancel button closes the dialog box without adding an Allow decision node.
Deny
Use this decision node to deny access to the request.
By default, returns a status code of 401. You can change this by updating the entry in the Status Code text box.
Select the Save button to save the details. Selecting the Cancel button closes the dialog box without adding an Allow decision node.
Response Status
Use this decision node to set a customer response status for the request.
By default, returns a status code of 200. You can change this by updating the entry in the Status Code text box.
Select the Save button to save the details. Selecting the Cancel button closes the dialog box without adding an Allow decision node.
Redirect
Use this decision node to redirect the end user to a specific URL.
You can specify the following types of redirect:
- Simple
- Template
To define a redirect, enter the URL to which you want to redirect your end user in the Redirect address text box. If using a Template redirect, you can use values to define the URL. By default, the following templates are available for use in your Template redirect:
{{path}}
{{contentApi}}
{{metatags}}
Select the Save button to save the redirect path. Selecting the Cancel button closes the dialog box without adding an Redirect decision node.
Preserve Origin Status
Use this decision node to ensure that the following information from the origin’s response remain unchanged:
- Response code
- Headers
- Body
No further configuration is required for this decision node.