1
0
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:
kingston125
2026-02-04 17:18:12 -05:00
committed by Nick Craig-Wood
parent 327ca25a4d
commit 1049f88a1d

View File

@@ -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)