Allow header is missing from 405 response #9431
ibnesayeed
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When a resource returns
405 Method Not Allowed
response, it does not include anAllow
header to tell the client what methods are allowed for the resource. According to the RFC7231 this header is a MUST in case of a405
response.For example, when interacting with the newly added webhook (#1663) feature using a POST method, things works as expected:
When the same resource is accessed using GET method, the response does not include an
Allow
header:Even when the capabilities of the resource are queried explicitly using OPTIONS method, the response remains similar:
The response should be something like this:
I am not sure if this issue is limited to just the webhooks or affects the whole HTTP API of the application.
Beta Was this translation helpful? Give feedback.
All reactions