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