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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue