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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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