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
|
var reader io.ReadCloser
|
||||||
err = o.fs.pacer.Call(func() (bool, error) {
|
err = o.fs.pacer.Call(func() (bool, error) {
|
||||||
req, err := http.NewRequestWithContext(ctx, "GET", directLink, nil)
|
req, err := http.NewRequestWithContext(ctx, "GET", directLink, nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user