From 7b5e0399987ea10085e499e51b2e1da9b7e13495 Mon Sep 17 00:00:00 2001 From: fair Date: Wed, 27 May 2020 19:21:50 +0800 Subject: [PATCH] add init --- context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/context.go b/context.go index 8992e2d4..619cfd21 100644 --- a/context.go +++ b/context.go @@ -801,6 +801,7 @@ func (c *Context) GetHeader(key string) string { // GetRawData return stream data. func (c *Context) GetRawData() ([]byte, error) { // return ioutil.ReadAll(c.Request.Body) + c.initFormCache() return c.rawData, nil }