mirror of
https://github.com/rclone/rclone.git
synced 2026-02-17 18:09:03 +00:00
filelu: add comment for response body wrapping
This commit is contained in:
committed by
Nick Craig-Wood
parent
327ca25a4d
commit
1049f88a1d
@@ -87,6 +87,7 @@ func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (io.ReadClo
|
||||
}
|
||||
}
|
||||
|
||||
// Wrap the response body to handle offset and count
|
||||
var reader io.ReadCloser
|
||||
err = o.fs.pacer.Call(func() (bool, error) {
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", directLink, nil)
|
||||
|
||||
Reference in New Issue
Block a user