go-webdav/carddav
Conrad Hoffmann a3e56141d9 carddav: add support for getcontentlength property
Allow the backend to provide a value for the `getcontentlength` property
as described in [RFC 2518 section 13.4][1].

The implementation treats is as optional, allthough it is a required
property per RFC. Most clients do perfectly fine without it, though.

Properly setting this in the backend makes the CardDAV collection
listable with clients that do require it, e.g. cadaver.

[1]: https://datatracker.ietf.org/doc/html/rfc2518#section-13.4
2022-05-24 11:18:11 +02:00
..
carddav.go carddav: add support for getcontentlength property 2022-05-24 11:18:11 +02:00
client.go carddav: improve Client.SyncCollection docs 2022-05-24 10:20:08 +02:00
elements.go Support custom user principal and home set paths 2022-05-11 11:12:04 +02:00
match_test.go carddav: add filtering and matching helper functions 2022-03-01 10:06:11 +01:00
match.go carddav: add filtering and matching helper functions 2022-03-01 10:06:11 +01:00
server.go carddav: add support for getcontentlength property 2022-05-24 11:18:11 +02:00