Allow OPTIONS

By default, ​Akamai​ honors GET, HEAD, and OPTIONS requests to your origin. With this behavior included, you can choose to disable HTTP requests using the OPTIONS method.

How it works

When enabled, the OPTIONS requests pass to the origin, but the content isn't cached, unless you use the Construct Response behavior to send a response directly from the ​Akamai​ network.
When disabled, ​Akamai​ edge servers deny all OPTIONS requests to this property with a 403 response. By default, the OPTIONS method is allowed.

This behavior doesn’t include any options. Specifying the behavior itself enables it.

πŸ“˜

Full support of Cross-Origin Resource Sharing (CORS) requires allowing requests that use the OPTIONS method. If you are using the CORS behavior, don't disable OPTIONS requests.

Related topics

See the Allow DELETE, Allow PATCH, Allow POST, Allow PUT, CORS Protocol Support, Construct Response behaviors.


Did this page help you?