Make sure collections have trailing slashes (py-caldav is very pedantic about that)

This commit is contained in:
Lennart
2025-06-09 22:23:01 +02:00
parent fc590976bc
commit 6d6f8f20df
13 changed files with 18 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ where
type PrincipalUri = PURI;
const DAV_HEADER: &str = "1, 3, access-control";
const IS_COLLECTION: bool = true;
async fn get_resource(&self, _: &()) -> Result<Self::Resource, Self::Error> {
Ok(RootResource::<PRS::Resource, P>::default())