emersion / go-webdav

A Go library for WebDAV, CalDAV and CardDAV
MIT License
314 stars 66 forks source link

caldav: add support for If-Match and If-None-Match in PutCalendarObject #130

Open jech opened 12 months ago

jech commented 12 months ago

From client.go line 341:

    // TODO: add support for If-None-Match and If-Match

Without this, it is impossible to update a calendar in a safe manner. At the very least, we need to be able to specify If-None-Match: * in order to safely create an event.