You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 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.
The text was updated successfully, but these errors were encountered:
emersion
changed the title
Support If-Match and If-None-Match in PutCalendarObject
caldav: add support for If-Match and If-None-Match in PutCalendarObject
Jan 8, 2024
I am currently unable to update events, due to getting an error saying 409 Conflict: <error xmlns="DAV:"><no-uid-conflict xmlns="urn:ietf:params:xml:ns:caldav"></no-uid-conflict></error>, when attempting to run PutCalendarObject on a modified copy of an event that's already in the calendar.
Is this related?
Edit: That was my mistake. I was accidentally changing the UID of the event when trying to update. In that case, could you please still elaborate, though, what you mean by "safe manner"? If it feels dire enough to me, I might look into contributing this feature in.
From client.go line 341:
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.The text was updated successfully, but these errors were encountered: