diff --git a/config.go b/config.go index f233cb8..f8e42dc 100644 --- a/config.go +++ b/config.go @@ -80,8 +80,8 @@ func WithHTTPClient(client *http.Client) Option { } } -// WithReuseBody 开启body复用; Response.Body可以被断言为BytesReadCloser, 重复调用Bytes()方法. -// Enable body reuse; Response.Body can be asserted as a BytesReadCloser, calling the Bytes() method repeatedly. +// WithReuseBody 开启Body可重复读; Response.Body可以被断言为BytesReadCloser, 调用Bytes()方法重复读取. +// Turn on Body repeatable read; Response.Body can be asserted as BytesReadCloser, call Bytes() method to repeat reads. func WithReuseBody() Option { return func(c *config) { c.ReuseBodyEnabled = true