request_​type

Version: v2025-02-18Includes use: Yes

Criterion name: Request Type

Matches the basic type of request. To use this match, you need to be thoroughly familiar with how Akamai edge servers process requests. Contact your Akamai Technical representative if you need help, and test thoroughly on staging before activating on production.

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_type" {
  rules_v2025_02_18 {
    name     = "Request Type"
    comments = "Matches the basic type of request."
    criterion {
      request_type {
        match_operator = "IS"
        value = "CLIENT_REQ"
      }
    }
  }
}
"criterion": [
  {
    "name": "requestType",
    "options": {
      "matchOperator": "IS",
      "value": "CLIENT_REQ"
    }
  }
]

Options

Option Description
match_operator
Specifies the match logic. Value is one of:
  • IS. The request is the type of specified value.
  • IS_NOT. The request is not the type of specified value.
value
Specifies the type of request. Value is one of:
  • CLIENT_REQ. A client request.
  • ESI_FRAGMENT. An Edge Side Include fragment.
  • EW_SUBREQUEST. An EdgeWorkers sub-request.