Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnydacosta authored Jun 29, 2024
1 parent f7d9f51 commit 4e8612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ var NotFoundHandler = func(c Context) error {
return ErrNotFound
}

// MethodNotAllowedHandler is the handler thar router uses in case there was no matching route found but there was
// MethodNotAllowedHandler is the handler that router uses in case there was no matching route found but there was
// another matching routes for that requested URL. Returns an error that results HTTP 405 Method Not Allowed status code.
var MethodNotAllowedHandler = func(c Context) error {
// See RFC 7231 section 7.4.1: An origin server MUST generate an Allow field in a 405 (Method Not Allowed)
Expand Down

0 comments on commit 4e8612d

Please sign in to comment.