skshetry / webdav4

WebDAV client library with a fsspec based filesystem and a CLI.
https://skshetry.github.io/webdav4
MIT License
61 stars 17 forks source link

Webdav server in a prefixed url #169

Open Ph0tonic opened 1 year ago

Ph0tonic commented 1 year ago

When the root of a webdav server is hosted like https://example.com/sub/root/, and we query the root folder, the name of the resource in a PROPFIND response is / and not /sub/root/ leading to a key error.

I would propose to add an optional parameter in the constructor, would it be ok ? Or should we prefer another way ? I can make a PR.

pataquets commented 10 months ago

FYI: #171 might be somewhat related