AJIOB opened a new issue, #4175: URL: https://github.com/apache/opendal/issues/4175
URL/URI part names can be found [here](https://docs.rs/http/1.0.0/http/uri/struct.Uri.html). As I can see, current version `0.45.0` uses `endpoint`'s **path** part. In the `WebdavConfig` we have: * `endpoint` with the **path** * `root` with the another **path** After the `fn build` call, `WebdavBackend` contains: * `endpoint` field with the config's `endpoint` value: scheme, authority, **path**, query & fragment * `base_dir` field with the only **path** value from the `endpoint` * `root` with the config's **root** value (and config value is **ALWAYS** cleaned up, while another values are not, **WHY?**. Maybe we need to use `.clone()` instead of `.take()`? - _additional point 1_) On the next, `WebdavBackend`'s fields are used as: * `endpoint` - for the path force concatenation (need to recheck `fn webdav_put()`'s `abs_path` input value, maybe it is **already** starts with the **/** - _additional point 2_) * `base_dir` - for creating `WebdavLister` in the `fn list()`. `WebdavLister::new()` uses both `base_dir` & `root` values, but not the `endpoint` one, **WHY?** - _additional point 3_ * `root` - for: * `AccessorInfo` creation * creating `WebdavLister` in the `fn list()` (together with the `base_dir`) * creating `WebdavWriter`in the `fb write()` * full path build in the lots of functions -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
