Why the context.Request.Body would be dirty when many goroutine read and write the body

前端 未结 0 602
野性不改
野性不改 2021-01-22 13:39

when using golang gin framework, the context.Request.Body would be nil if someone already read it in some place, such as

data, _ := ioutil.ReadAll(c.Request.Body)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题