diff options
Diffstat (limited to 'aero-proto/src/dav/resource.rs')
-rw-r--r-- | aero-proto/src/dav/resource.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/aero-proto/src/dav/resource.rs b/aero-proto/src/dav/resource.rs index b6c0ed5..b5ae029 100644 --- a/aero-proto/src/dav/resource.rs +++ b/aero-proto/src/dav/resource.rs @@ -139,6 +139,10 @@ impl DavNode for RootNode { > { async { Err(std::io::Error::from(std::io::ErrorKind::Unsupported)) }.boxed() } + + fn dav_header(&self) -> String { + "1".into() + } } #[derive(Clone)] @@ -260,6 +264,10 @@ impl DavNode for HomeNode { > { async { Err(std::io::Error::from(std::io::ErrorKind::Unsupported)) }.boxed() } + + fn dav_header(&self) -> String { + "1, access-control, calendar-access".into() + } } #[derive(Clone)] @@ -393,6 +401,10 @@ impl DavNode for CalendarListNode { > { async { Err(std::io::Error::from(std::io::ErrorKind::Unsupported)) }.boxed() } + + fn dav_header(&self) -> String { + "1, access-control, calendar-access".into() + } } #[derive(Clone)] @@ -641,6 +653,9 @@ impl DavNode for CalendarNode { } .boxed() } + fn dav_header(&self) -> String { + "1, access-control, calendar-access".into() + } } #[derive(Clone)] @@ -872,6 +887,10 @@ impl DavNode for EventNode { > { async { Err(std::io::Error::from(std::io::ErrorKind::Unsupported)) }.boxed() } + + fn dav_header(&self) -> String { + "1, access-control".into() + } } #[derive(Clone)] @@ -973,4 +992,8 @@ impl DavNode for CreateEventNode { > { async { Err(std::io::Error::from(std::io::ErrorKind::Unsupported)) }.boxed() } + + fn dav_header(&self) -> String { + "1, access-control".into() + } } |