club-1/webdav-drive

Upgrade to webdav-client V5

Opened this issue · 1 comments

webdav-client v5 has some breaking changes that affect us quite a lot:

Breaking changes:

[...]

[...]

A workaround is suggested, by using a ReadableStream in the body of the Request element but this is not supported by Firefox nor Safari as to now12.

See also:

Footnotes

  1. https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#browser_compatibility, look for the "Send ReadableStream in request body" in the compatibility table

  2. https://caniuse.com/mdn-api_request_request_request_body_readablestream

Note that fetch with ReadableStream is not supported with HTTP 1.x

https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests?hl=en