go-webdav/carddav
Conrad Hoffmann 0456b28ba3 Support setting capabilities in ServePrincipal()
This is done properly in the carddav and caldav packages, but the custom
function does not know what the user intends to serve, so it must be
passed in from the user. Without this, certain clients (e.g. DAVx5)
will be unable to discover endpoints served this way.

Also slightly extend the supported methods returned on OPTIONS requests.
REPORT is properly supported, the others are mostly for not giving
clients the impression that the resources are read-only.
2022-12-13 15:46:51 +01:00
..
carddav_test.go carddav: use custom type for context keys 2022-11-16 10:37:40 +01:00
carddav.go Support setting capabilities in ServePrincipal() 2022-12-13 15:46:51 +01:00
client.go carddav: use "/.well-known/carddav/" as initial context path in Discover 2022-07-13 08:43:40 +02:00
elements.go Support custom user principal and home set paths 2022-05-11 11:12:04 +02:00
match_test.go carddav: do property filtering in match.Filter() 2022-06-03 08:36:05 +02:00
match.go carddav: do property filtering in match.Filter() 2022-06-03 08:36:05 +02:00
server.go Dedicated type for conditional match header fields 2022-11-22 11:58:13 +01:00