We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix: #97
If the route exists but the handler is missing, I got a HTTP 404 Not Found error.
HTTP 404 Not Found
If the route exists but the handler is missing, I expect to see a 405 Method Not Allowed error.
405 Method Not Allowed
r := bunrouter.New() r.POST("/city/:city/postalcode/:postal", exampleHandler)
Assume that the records exists: Make a GET request to /city/1/postalcode/1 and you get a 404 instead of a 405 error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
💡 The feature or bug you are proposing
Bugfix: #97
📄 The description of the bug or the logic behind your proposal
If the route exists but the handler is missing, I got a
HTTP 404 Not Found
error.🚀 The expected result
If the route exists but the handler is missing, I expect to see a
405 Method Not Allowed
error.Example
Assume that the records exists:
Make a GET request to /city/1/postalcode/1 and you get a 404 instead of a 405 error.
The text was updated successfully, but these errors were encountered: