- Property Manager name: Allow OPTIONS
- Behavior version: The
latest
rule format supports theallowOptions
behavior v1.1. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
GET, HEAD, and OPTIONS requests are allowed by default. All other HTTP methods result in a 501 error. For full support of Cross-Origin Resource Sharing (CORS), you need to allow requests that use the OPTIONS method. If you're using the corsSupport
behavior, do not disable OPTIONS requests. The response to an OPTIONS request is not cached, so the request always goes through the Akamai network to your origin, unless you use the constructResponse
behavior to send responses directly from the Akamai network. See also the allowDelete
, allowPatch
, allowPost
, and allowPut
behaviors.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Set this to | {"displayType":"boolean","tag":"input","type":"checkbox"} |