diff --git a/src/services/webdav/backend.rs b/src/services/webdav/backend.rs index c170c939535f..56048508f9cc 100644 --- a/src/services/webdav/backend.rs +++ b/src/services/webdav/backend.rs @@ -269,6 +269,19 @@ impl Accessor for WebdavBackend { ma } + async fn list(&self, path: &str, args: OpList) -> Result<(RpList, ObjectPager)> { + let (_, _) = (path, args); + + let empoty_string = AsyncBody::from("".into()); + + let resp = self.webdav_put(path, None, "application/xml".into(), empoty_string); + + Err(Error::new( + ErrorKind::Unsupported, + "operation is not supported", + )) + } + async fn create(&self, path: &str, _: OpCreate) -> Result { let resp = self .webdav_put(path, Some(0), None, AsyncBody::Empty)