forked from mirror/gin
fix: typo (#3006)
This commit is contained in:
parent
d062a6a615
commit
01363191be
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue