Add support for proxying CalDAV HTTP methods (#2003)

* Add support to handle PROPFIND methods

* Add further http methods for caldav
This commit is contained in:
Dobli
2026-05-28 08:09:16 +02:00
committed by GitHub
parent 5911ee1e2d
commit 4f74440e4c
+9
View File
@@ -51,6 +51,15 @@ func Router(config *ServerConfig) chi.Router {
r.Use(httpStatsMiddleware(config))
// Enable support for additional HTTP methods
// Methods for CalDAV
chi.RegisterMethod("PROPFIND")
chi.RegisterMethod("PROPPATCH")
chi.RegisterMethod("MKCALENDAR")
chi.RegisterMethod("MKCOL")
chi.RegisterMethod("REPORT")
chi.RegisterMethod("ACL")
// Authentication middleware (applies to all routes after this point)
r.Use(authMiddleware(config))