Construct Response

Construct a HTTP response, including a standard HTTP status code and a message you create, to be served from the ​Akamai​ edge server without sending the request to your origin.

How it works

This behavior constructs an HTTP response, complete with HTTP status code and body, to serve from the edge independently of your origin. It supports all request methods except for POST.
You can create a message of up to 2000 characters for the body of the response.
By default, the edge servers evict currently cached version of the object from cache, since it isn't being served.

Features and options

Field

What it does

Sub-options

Status

Enables or disables this behavior.

Response Body

The HTML response you want the user to receive.

Variable Support: This option supports variable expression syntax. Typing {{ in the option field triggers variable auto complete. Learn more about variable support.

Response Code

The response code you want the user to receive.

  • 200 OK
  • 404 Not Found
  • 401 Unauthorized
  • 403 Forbidden
  • 405 Method Not Allowed
  • 417 Expectation Failed
  • 500 Internal Server Error
  • 501 Not Implemented
  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout

Force Cache eviction

Force eviction of the underlying object from cache.

Ignore for Purge requests

Ignore this construct response when purging.


Did this page help you?