By default, Akamai honors GET, HEAD, and OPTIONS requests to your origin. Include this behavior to allow HTTP requests using the POST method.
How it works
When enabled, POST requests pass to the origin, but the content isn’t cached.
When disabled, Akamai edge servers deny all POST requests to this property with a 403 response.4
Features and options
You can also decide whether to allow POST calls without a Content-Length header.
Field | What it does |
---|---|
Behavior | Enables or disables the behavior. |
Allow POST without Content-Length header |
By default, POST requests require a Content-Length header, or they result in a 411 error. The error occurs even if the POST request doesn’t contain a body and theoretically shouldn’t require Content-Length header. If you enable this option and don’t specify the Content-Length , the edge server relies on a Transfer-Encoding header to chunk the data. If neither header is present, the server assumes the request has nobody, and it adds a header with a 0 value to the forward request. |