router icon indicating copy to clipboard operation
router copied to clipboard

405 response does not include Allow header

Open ahx opened this issue 3 years ago • 0 comments

According to the spec "The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods."

Currently the 405 response returned by hanami-router does not include an allow header.

Is this something you want to support in the library?

ahx avatar Sep 20 '22 10:09 ahx