From a5024b80382f0aa76657fd1ac1b6326411c9afb8 Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Mon, 24 Oct 2016 08:21:36 -0700 Subject: [PATCH] fixed #685 Signed-off-by: Vishal Rana --- echo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/echo.go b/echo.go index de218798..38f60241 100644 --- a/echo.go +++ b/echo.go @@ -594,6 +594,7 @@ func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc { return func(next HandlerFunc) HandlerFunc { return func(c Context) (err error) { m(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + c.SetRequest(r) err = next(c) })).ServeHTTP(c.Response(), c.Request()) return