mirror of https://github.com/gin-gonic/gin.git
Merge pull request #979 from easonlin404/fix-comment
fix(comment): remove todo
This commit is contained in:
commit
2521d8246d
1
gin.go
1
gin.go
|
@ -345,7 +345,6 @@ func (engine *Engine) handleHTTPRequest(context *Context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: unit test
|
|
||||||
if engine.HandleMethodNotAllowed {
|
if engine.HandleMethodNotAllowed {
|
||||||
for _, tree := range engine.trees {
|
for _, tree := range engine.trees {
|
||||||
if tree.method != httpMethod {
|
if tree.method != httpMethod {
|
||||||
|
|
Loading…
Reference in New Issue