tydhot commented on a change in pull request #236: URL: https://github.com/apache/dubbo-go-pixiu/pull/236#discussion_r705818820
########## File path: pkg/context/http/util.go ########## @@ -60,3 +64,31 @@ func HttpRouteActionMatch(c *HttpContext, ra model.RouteAction) bool { return true } + +// ExtractRequestBody extract body of http request +func ExtractRequestBody(req *http.Request) []byte { Review comment: 我还是建议不要采集body了,如果这是个上传文件的请求,或是敏感请求,不是很合适 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org