diff --git a/context.go b/context.go index afc3c353e1..b400805de8 100644 --- a/context.go +++ b/context.go @@ -538,7 +538,6 @@ func (c *Context) PostFormArray(key string) (values []string) { func (c *Context) initFormCache() { if c.formCache == nil { - c.formCache = make(url.Values) req := c.Request if err := req.ParseMultipartForm(c.engine.MaxMultipartMemory); err != nil { if !errors.Is(err, http.ErrNotMultipart) {