GuideReference
TrainingSupportCommunity
Guide

modify_​via_​header

  • Property Manager name: Modify Via Header
  • Behavior version: The v2024-10-21 rule format supports the modify_​via_​header behavior v1.0.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

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"}}