patch: disable webdav redirect

This commit is contained in:
fred-bf
2024-03-24 14:15:04 +08:00
committed by GitHub
parent ebbd870150
commit e8d76a513d

View File

@@ -101,6 +101,7 @@ async function handle(
authorization: req.headers.get("authorization") ?? "", authorization: req.headers.get("authorization") ?? "",
}, },
body: shouldNotHaveBody ? null : req.body, body: shouldNotHaveBody ? null : req.body,
redirect: 'manual',
method, method,
// @ts-ignore // @ts-ignore
duplex: "half", duplex: "half",