allow_patch
Version: v2025-02-18 | Includes use: Yes |
---|
Behavior name: Allow PATCH
Allow HTTP requests using the PATCH
method. By default, GET
, HEAD
, and OPTIONS
requests are allowed, and all other methods result in a 501 error. Such content does not cache, and any PATCH requests pass to the origin. See also the allow_delete
, allow_options
, allow_post
, and allow_put
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" "allow_patch" {
rules_v2025_02_18 {
name = "Allow PATCH"
comments = "Allow HTTP requests using the PATCH method."
behavior {
allow_patch {
enabled = true
}
}
}
}
"behaviors": [
{
"name": "allowPatch",
"options": {
"enabled": true
}
}
]
Options
Option | Description |
---|---|
enabled |
Allows
PATCH requests. Content does not cache.
|
Updated 10 days ago