Skip to content

Commit a62001c

Browse files
author
lixizan
committed
Merge branch 'dev'
2 parents 33add33 + 1cdcf83 commit a62001c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ func WithHTTPClient(client *http.Client) Option {
8080
}
8181
}
8282

83-
// WithReuseBody 开启body复用; Response.Body可以被断言为BytesReadCloser, 重复调用Bytes()方法.
84-
// Enable body reuse; Response.Body can be asserted as a BytesReadCloser, calling the Bytes() method repeatedly.
83+
// WithReuseBody 开启Body可重复读; Response.Body可以被断言为BytesReadCloser, 调用Bytes()方法重复读取.
84+
// Turn on Body repeatable read; Response.Body can be asserted as BytesReadCloser, call Bytes() method to repeat reads.
8585
func WithReuseBody() Option {
8686
return func(c *config) {
8787
c.ReuseBodyEnabled = true

0 commit comments

Comments
 (0)