If a HTTP resource is not able to handle a request with the given HTTP method, it should send an Allow
header to list the allowed HTTP methods. Another possibility to get a response with an Allow
header is to send a request with the OPTIONS
method.
I'm wondering whether the Allow
header should contain the OPTIONS
method itself.
Example:
Allow: GET, PUT, DELETE, OPTIONS
or
Allow: GET, PUT, DELETE
What is correct?