[bug] The default MethodNotAllowedHandler is not spec compliant #554
Comments
|
Happy to take a PR + tests for this. |
|
@elithrar Would you prefer a flag to skip handling MethodNotAllowed or removing the default MethodNotAllowed handler altogether? (meaning: MethodNotAllowed will only be handled if the handler is explicitly specified) Or even something like |
|
See comments in #555 |
|
This issue has been automatically marked as stale because it hasn't seen a recent update. It'll be automatically closed in a few days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RFC 7231 Section 6.5.5
States that
Which is clearly not implemented right now
mux/mux.go
Lines 601 to 603 in 75dcda0
Suggestion:
The text was updated successfully, but these errors were encountered: