Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Outdated
-
None
-
None
-
None
-
Flagged
Description
In HSTTWO-4531, the OPTIONS method was handled with a 405 "Method Not Allowed" response.
The HTTP/1.1 RFC states at https://tools.ietf.org/html/rfc7231#section-6.5.5:
The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.
Let's add that header.
Attachments
Issue Links
- relates to
-
HSTTWO-4531 HST should either handle or drop OPTIONS requests
- Closed
- waits for
-
HSTTWO-4703 Improve Cross-Origin Resource Sharing (CORS) HST support through preflight (OPTIONS) requests
- Closed