Allow OPTIONS

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

How it works

By default, the OPTIONS method is allowed. When you don't specify this behavior at all or set it to Allow, the OPTIONS requests pass to the origin. The content isn't cached, unless you use the Construct Response behavior to send a response directly from the ​Akamai​ network.

When set to Deny, ​Akamai​ edge servers deny all OPTIONS requests to this property with a 501 Not Implemented response.

📘

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.

Features and options

FieldWhat it does
BehaviorAllows or denies the HTTP requests using the OPTIONS method.

Related topics

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