Property Manager Name: Modify Incoming Response Header
Modify, add, remove, or pass along specific response headers coming downstream from the origin.
Depending on the type of action you want to perform, specify the corresponding standard header name, or a customHeaderName if the standard name is set to OTHER. The headerValue serves as a match condition when the action is DELETE or MODIFY, and the newHeaderValue applies when the action is ADD or MODIFY.
See also modifyIncomingRequestHeader, modifyOutgoingRequestHeader, and modifyOutgoingResponseHeader.
Options
- action (enum string): Either ADD, DELETE, MODIFY, or PASS incoming HTTP response headers.
- standardAddHeaderName (enum string): If the value of action is ADD, this specifies the name of the field to add, any of the following values:
CACHE_CONTROL EDGE_CONTROL LAST_MODIFIED CONTENT_TYPE EXPIRES OTHER
- standardDeleteHeaderName (enum string): If the value of action is DELETE, this specifies the name of the field to remove, either CACHE_CONTROL, CONTENT_TYPE, VARY, or OTHER.
- standardModifyHeaderName (enum string): If the value of action is MODIFY, this specifies the name of the field to modify, either CACHE_CONTROL, CONTENT_TYPE, EDGE_CONTROL, or OTHER.
- standardPassHeaderName (enum string): If the value of action is PASS, this specifies the name of the field to pass through, either CACHE_CONTROL, EXPIRES, PRAGMA, or OTHER.
- customHeaderName (string; allows variables): Specifies a custom field name that applies when the relevant standard header name is set to OTHER.
- headerValue (string; allows variables): With the action set to ADD, specifies the header’s new value.
- newHeaderValue (string; allows variables): With the action set to MODIFY, specifies an HTTP header replacement value.
- avoidDuplicateHeaders (boolean): When enabled with the action set to MODIFY, prevents creation of more than one instance of a header.