allow_​transfer_​encoding

Version: v2025-02-18Includes use: Yes

Behavior name: Chunked Transfer Encoding

Controls whether to allow or deny Chunked Transfer Encoding (CTE) requests to pass to your origin. If your origin supports CTE, you should enable this behavior. This behavior also protects against a known issue when pairing http2 and webdav behaviors within the same rule tree, in which case it's required.

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" "allow_transfer_encoding" {
  rules_v2025_02_18 {
    name     = "Chunked Transfer Encoding"
    comments = "Allow or deny CTE requests to pass to your origin."
    behavior {
      allow_transfer_encoding {
        enabled = true
      }
    }
  }
}
"behaviors": [
  {
    "name": "allowTransferEncoding",
    "options": {
      "enabled": true
    }
  }
]

Options

Option Description
enabled
Allows Chunked Transfer Encoding requests.