Correct error codes for unsupported requests.
Open
- Dominant language
- Rust
- Stars
- 66
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
If the request is not in {GET, HEAD, PUT, POST, DELETE, TRACE, CONNECT, PATCH} then it should return 400 BAD REQUEST.
If the request is not in {GET, HEAD} then iron can return 405 METHOD NOT ALLOWED.
(On from #54).
Contributor guide
Assessment
This issue has not been assessed yet.