modifyViaHeader

  • Property Manager name: Modify Via Header
  • Behavior version: The v2023-10-30 rule format supports the modifyViaHeader 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"}}