This commit is contained in:
jincheng9
2022-01-02 14:04:07 +08:00
committed by GitHub
parent d062a6a615
commit 01363191be
+1 -1
View File
@@ -843,7 +843,7 @@ func (c *Context) GetHeader(key string) string {
return c.requestHeader(key)
}
// GetRawData return stream data.
// GetRawData returns stream data.
func (c *Context) GetRawData() ([]byte, error) {
return ioutil.ReadAll(c.Request.Body)
}