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
2020-04-02 16:50:41 +02:00
2017-08-26 14:46:44 +02:00
2020-01-22 13:00:42 +01:00
2020-02-24 21:16:45 +01:00
2020-02-24 21:16:45 +01:00
2020-01-14 17:51:33 +01:00
2022-02-02 13:54:40 +01:00

go-webdav

godocs.io builds.sr.ht status

A Go library for WebDAV, CalDAV and CardDAV.

License

MIT

Description
A Go library for WebDAV, CalDAV and CardDAV
Readme MIT 612 KiB
Languages
Go 100%