caldav: Very basic implementation of the REPORT method

This commit is contained in:
Lennart
2024-05-29 16:07:38 +02:00
parent 9568988c17
commit 3e1e289350
4 changed files with 229 additions and 90 deletions

View File

@@ -55,7 +55,7 @@ pub fn configure_dav<A: CheckAuthentication, C: CalendarStore + ?Sized>(
)
.service(
web::resource("/{principal}/{calendar}")
.route(report_method().to(calendar::methods::route_report_calendar::<A, C>))
.route(report_method().to(calendar::methods::report::route_report_calendar::<A, C>))
.route(propfind_method().to(route_propfind::<A, CalendarResource<C>>))
.route(
mkcalendar_method().to(calendar::methods::mkcalendar::route_mkcol_calendar::<A, C>),