go-webdav
go-webdav copied to clipboard
A Go library for WebDAV, CalDAV and CardDAV
it seems this would necessitate a change in the exported backend interface; perhaps: `PropPatch(ctx context.Context, path string, cal *ical.Calendar) error` One could theoretically reuse `CreateCalendar` instead of adding new `PropPatch`,...
#177 would be good to review to make sure it is done with correct philosophy of library tested with ios and davx5 apps.
REPORT with event filter containing only start and no end (created by Davx5 for android) was not returning recurring events; this fixes the issue.
resolves issue #178 - only returns properties specified by RFC when DAV:allprop is set - only returns calendar-data in REPORT with calendar-query or calendar-multiget body Note. There is another REPORT...
It appears that many properties which should not be returned according to RFC 4791 are returned in an allprop request. These properties "SHOULD NOT" be returned according to RFC 4791:...
https://datatracker.ietf.org/doc/html/rfc4791#section-5.3.1 DAVx5 for android submits a request with MKCALENDAR method. It seems the library does not support this.
The `Open` function doesn't check the HTTP status code. Therefore it is not possible to detect errors, e.g. 404. My suggestion is to only allow `200` status code by default.