Allow header

The response header listing the methods a resource accepts, required on every 405 Method Not Allowed answer.

In more detail

With Allow: GET, HEAD, POST a client that used the wrong method knows immediately which ones will work instead of guessing. It can also be sent on successful responses, and in answer to OPTIONS, to advertise what a resource supports.

Related terms

Taught in

References