modifyViaHeader

  • Delivery Manager name: Modify Via Header
  • Behavior version: The latest rule format supports the modifyViaHeader behavior v1.0.

Removes or renames the HTTP Via headers used to inform the server of proxies through which the request was sent to the origin.

OptionTypeDescriptionRequires
enabledboolean

Enables Via header modifications.

{"displayType":"boolean","tag":"input","type":"checkbox"}
modification​Optionenum

Specify how you want to handle the header.

{"displayType":"enum","options":["REMOVE_HEADER","RENAME_HEADER"],"tag":"select"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
REMOVE_​HEADER

Remove the header.

RENAME_​HEADER

Rename the header.

rename​Header​Tostring

Specifies a new name to replace the existing Via header.

modification​Option is RENAME_​HEADER
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"modificationOption","op":"eq","value":"RENAME_HEADER"}}