diff --git a/app.go b/app.go index c3d54b77..346ff07c 100644 --- a/app.go +++ b/app.go @@ -640,7 +640,7 @@ func (app *App) Use(args ...interface{}) Router { // Get registers a route for GET methods that requests a representation // of the specified resource. Requests using GET should only retrieve data. func (app *App) Get(path string, handlers ...Handler) Router { - return app.Add(MethodHead, path, handlers...).Add(MethodGet, path, handlers...) + return app.Head(path, handlers...).Add(MethodGet, path, handlers...) } // Head registers a route for HEAD methods that asks for a response identical