diff --git a/http.go b/http.go index 1f825f9..722be73 100644 --- a/http.go +++ b/http.go @@ -60,6 +60,7 @@ func (server httpServer) ServeHTTP(res http.ResponseWriter, req *http.Request) { for _, handler := range server.handlers { if handler.GetMethod() == service.Method && handler.GetPath() == service.Pattern { + foundHandler = handler found = true } }