mirror of
https://github.com/labstack/echo.git
synced 2024-12-24 20:14:31 +02:00
Two little typos on comments (#835)
This commit is contained in:
parent
c7c4395fbd
commit
a8b6864be3
@ -34,7 +34,7 @@ func TestMethodOverride(t *testing.T) {
|
||||
m(h)(c)
|
||||
assert.Equal(t, echo.DELETE, req.Method)
|
||||
|
||||
// Override with query paramter
|
||||
// Override with query parameter
|
||||
m = MethodOverrideWithConfig(MethodOverrideConfig{Getter: MethodFromQuery("_method")})
|
||||
req, _ = http.NewRequest(echo.POST, "/?_method="+echo.DELETE, nil)
|
||||
rec = httptest.NewRecorder()
|
||||
|
@ -288,7 +288,7 @@ func (n *node) checkMethodNotAllowed() HandlerFunc {
|
||||
return NotFoundHandler
|
||||
}
|
||||
|
||||
// Find lookup a handler registed for method and path. It also parses URL for path
|
||||
// Find lookup a handler registered for method and path. It also parses URL for path
|
||||
// parameters and load them into context.
|
||||
//
|
||||
// For performance:
|
||||
|
Loading…
Reference in New Issue
Block a user