mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
box: fix RangeOption support in Open #1825
This commit is contained in:
parent
d876392d15
commit
e44dc2b14d
@ -960,6 +960,7 @@ func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) {
|
||||
if o.id == "" {
|
||||
return nil, errors.New("can't download - no id")
|
||||
}
|
||||
fs.FixRangeOption(options, o.size)
|
||||
var resp *http.Response
|
||||
opts := rest.Opts{
|
||||
Method: "GET",
|
||||
|
Loading…
Reference in New Issue
Block a user