allow_put
Version: v2025-02-18 | Includes use: Yes |
---|
Behavior name: Allow PUT
Allow HTTP requests using the PUT
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 PUT
requests pass to the origin. See also the allow_delete
, allow_options
, allow_patch
, and allow_post
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_put" {
rules_v2025_02_18 {
name = "Allow PUT"
comments = "Allow HTTP requests using the PUT method."
behavior {
allow_put {
enabled = true
}
}
}
}
"behaviors":[
{
"name": "allowPut",
"options": {
"enabled": true
}
}
]
Options
Option | Description |
---|---|
enabled |
Allows
PUT requests. Content does not cache.
|
Updated 10 days ago