diff --git a/src/remoteForWebdav.ts b/src/remoteForWebdav.ts index b8cd0d1..d52e262 100644 --- a/src/remoteForWebdav.ts +++ b/src/remoteForWebdav.ts @@ -100,6 +100,7 @@ if (VALID_REQURL) { let r2: Response = undefined; if ([101, 103, 204, 205, 304].includes(r.status)) { // A null body status is a status that is 101, 103, 204, 205, or 304. + // https://fetch.spec.whatwg.org/#statuses // fix this: Failed to construct 'Response': Response with null body status cannot have body r2 = new Response(null, { status: r.status,