request_header
| Version: v2025-07-07 | Includes use: Yes | 
|---|
Criterion name: Request Header
Match HTTP header names or values.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "request_header" {
  rules_v2025_07_07 {
    name     = "Request Header"
    comments = "Matches the cookie name or value passed with the request."
    criterion {
      request_header {
        match_wildcard_name = false
        match_operator = "IS_ONE_OF"
        header_name = ""
        values = []
        match_wildcard_value = false
        match_case_sensitive_value = true
      }
    }
  }
}
"criterion": [
  {
    "name": "requestHeader",
    "options": {
      "matchWildcardName": false,
      "matchOperator": "IS_ONE_OF",
      "headerName": "",
      "values": [],
      "matchWildcardValue": false,
      "matchCaseSensitiveValue": true
    }
  }
]
Options
| Option | Description | 
|---|---|
| header_name | The name of the request header, for example  Accept-Language. | 
| match_operator | The name of the request header, for example  Accept-Language. Value is one of:
 | 
| values | The request header's value, for example  en-USwhen the headerheader_nameisAccept-Language. | 
| match_wildcard_name | Allows wildcards in the  cookie_namefield, where?matches a single character and*matches zero or more characters. | 
| match_wildcard_value | Allows wildcards in the  valuefield, where?matches a single character and*matches zero or more characters. | 
| match_case_sensitive_value | Sets a case-sensitive match for the  valuefield. | 
Updated 3 months ago
