emersion / emersion/go-webdav

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

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
497
Forks
108
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start at client.go line 341 and trace PutCalendarObject to see how its request is built. Add a way to send If-Match and If-None-Match, including If-None-Match: *, then verify that calendar objects can be created or updated safely under the requested conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.