A DELETE gets served happily with HTTP 200 (OK) for example. The status code should be HTTP 405 (Method Not Allowed) instead, including an Allow: GET, HEAD.
The issue applies to Go versions up to 1.19 beta.
The text was updated successfully, but these errors were encountered:
A
DELETE
gets served happily with HTTP 200 (OK) for example. The status code should be HTTP 405 (Method Not Allowed) instead, including anAllow: GET, HEAD
.The issue applies to Go versions up to 1.19 beta.
The text was updated successfully, but these errors were encountered: