Allow PATCH
By default, โAkamaiโ honors GET, HEAD, and OPTIONS requests to your origin. Include this behavior to allow HTTP requests using the PATCH method.
How it works
When enabled, PATCH requests pass to the origin, but the content isnโt cached. When disabled, โAkamaiโ edge servers deny all PATCH requests to this property with a 403 response.
You need a Content-Length
header
Content-Length
headerPATCH requests require a Content-Length
header, or they result in a 411 Length required
error. The error occurs even if the PATCH request doesnโt contain a body. If you enable Allow PATCH, include this header with a request and indicate the size of the message body, in bytes. If the PATCH request doesn't have a body, include the header and set it to 0
.
Related topics
See also the Allow DELETE, Allow OPTIONS, Allow POST, and Allow PUT behaviors.
Updated 3 months ago