iron / iron/staticfile

Correct error codes for unsupported requests.

Open
#86 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.