From f1b4188b600964805639078b3c879a5fc293aeee Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Mon, 14 Oct 2024 16:36:10 +0200 Subject: [PATCH] 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 --- backend/webdav/api/types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/webdav/api/types.go b/backend/webdav/api/types.go index f26f40e65..6f2657b12 100644 --- a/backend/webdav/api/types.go +++ b/backend/webdav/api/types.go @@ -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 }