modify_via_header
Version: v2025-01-13 | Includes use: Yes |
---|
Behavior name: Modify Via Header
Removes or renames the HTTP Via
headers used to inform the server of proxies through which the request was sent to the origin.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "modify_via_header" {
rules_v2025_02_18 {
name = "Modify Via Header"
comments = "Removes or renames the HTTP Via headers."
behavior {
modify_via_header {
enabled = true
modification_option = "REMOVE_HEADER"
}
}
}
}
"behaviors": [
{
"name": "modifyViaHeader",
"options": {
"enabled": true,
"modificationOption": "REMOVE_HEADER"
}
}
]
Options
Option | Description |
---|---|
enabled |
Enables
Via header modifications.
|
modification_option |
Specify how you want to handle the header. Value is one of:
|
rename_header_to |
Specifies a new name to replace the existing
Via header.
|
Updated 1 minute ago