filelu: add comment for response body wrapping

This commit is contained in:
kingston125 authored and Nick Craig-Wood committed 2026-02-17 16:35:25 +00:00
1 parent 1d2a159c6a
commit 6ba40cc97e
1 file changed
+1
+1
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)