From b2479c275d5d00535b7e8b2d9d88b03e9c74f640 Mon Sep 17 00:00:00 2001 From: Antonio Pagano Date: Mon, 24 Oct 2016 18:20:08 -0500 Subject: [PATCH] Updating Header response to be Echo/3.0 (#686) Updating Header response to be Echo/3.0 inside the recipe for middleware. --- recipe/middleware/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/middleware/server.go b/recipe/middleware/server.go index de1d9982..7218d2d3 100644 --- a/recipe/middleware/server.go +++ b/recipe/middleware/server.go @@ -50,7 +50,7 @@ func (s *Stats) Handle(c echo.Context) error { // ServerHeader middleware adds a `Server` header to the response. func ServerHeader(next echo.HandlerFunc) echo.HandlerFunc { return func(c echo.Context) error { - c.Response().Header().Set(echo.HeaderServer, "Echo/2.0") + c.Response().Header().Set(echo.HeaderServer, "Echo/3.0") return next(c) } }