mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
Allow 425 as a valid state, it means the file is still in postprocessing
in ownCloud Infinite Scale, files might be in that state if postprocessing is still ongoing. All metadata are available anyway
This commit is contained in:
parent
3941e9d329
commit
f1b4188b60
@ -96,6 +96,10 @@ func (p *Prop) StatusOK() bool {
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
// allow status 425 "too early" for files still in postprocessing
|
||||
if code == 425 {
|
||||
return true
|
||||
}
|
||||
if code >= 200 && code < 300 {
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user