Version: v2023-01-05 | 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_v2023_01_05 {
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.
|
