carddav: add Client.PutAddressObject

This commit is contained in:
Simon Ser
2020-02-12 19:47:16 +01:00
parent 30eac28d2b
commit 842acb3647
2 changed files with 51 additions and 1 deletions

View File

@@ -386,7 +386,7 @@ func (b *backend) Proppatch(r *http.Request, update *internal.Propertyupdate) (*
}
func (b *backend) Put(r *http.Request) (*internal.Href, error) {
// TODO: add support for If-None-Match
// TODO: add support for If-None-Match and If-Match
t, _, err := mime.ParseMediaType(r.Header.Get("Content-Type"))
if err != nil {