Replies: 1 comment
-
Currently, you'd have to add a fallback to each route as far as I know. What I think you would want is #2251. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The response body for a 405 error (method not allowed) is empty by default. I'd like the body to show the "canonical reason" instead - e.g.
Method Not Allowed
. How would I go about this?axum version
0.7.5
Beta Was this translation helpful? Give feedback.
All reactions