modify_incoming_request_header
| Version: v2025-07-07 | Includes use: Yes | 
|---|
Behavior name: Modify Incoming Request Header
Modify, add, remove, or pass along specific request headers coming upstream from the client.
Related behaviors:
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_incoming_request_header" {
  rules_v2025_07_07 {
    name     = "Modify Incoming Request Header"
    comments = "Modifies, adds, removes, or passes along specific request headers coming upstream from the client."
    behavior {
      modify_incoming_request_header {
        action                   = "ADD"
        standard_add_header_name = "ACCEPT_ENCODING"
        header_value             = ""
      }
    }
  }
}
"behaviors": [
  {
    "name": "modifyIncomingRequestHeader",
    "options": {
      "action": "ADD",
      "standardAddHeadername": "ACCEPT_ENCODING",
      "headerValue": ""
    }
  }
]
Options
| Option | Description | 
|---|---|
| action | The action to take on incoming HTTP request headers. Value is one of:
           
 | 
| standard_add_header_name | Specifies the name of the field to add. Value is one of:
           
 | 
| standard_delete_header_name | Specifies the name of the field to remove. Value is one of:
           
 | 
| standard_modify_header_name | Specifies the name of the field to modify. Value is one of:
           
 | 
| standard_pass_header_name | Specifies the name of the field to pass through. Value is one of:
           
 | 
| custom_header_name | Specifies a custom field name.
         | 
| header_value | Specifies the new header value.
         | 
| new_header_value | Supplies an HTTP header replacement value
         | 
| avoid_duplicate_headers | Prevents creation of more than one instance of a header.
         | 
Updated 3 months ago
