Re-add setting requestBuf after seeking
This commit is contained in:
parent
c42caf78a2
commit
0d8627db50
@ -33,6 +33,7 @@ func (c *Client) req(method, path string, body io.Reader, intercept func(*http.R
|
||||
if _, err = sk.Seek(0, io.SeekStart); err != nil {
|
||||
return
|
||||
}
|
||||
retryBuf = body
|
||||
} else {
|
||||
buff := &bytes.Buffer{}
|
||||
retryBuf = buff
|
||||
|
Loading…
Reference in New Issue
Block a user