-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Description
CalDAV compliant servers may reject requests for failing standard preconditions. For example, here is a 403 response I received from Fastmail:
debug: <?xml version="1.0" encoding="utf-8"?>
debug: <D:error xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
debug: <C:unique-scheduling-object-resource>
debug: <D:href>/dav/calendars/user/redacted@fastmail.com/e3c5f94b-3c17-4b77-b22f-eff377305ad7/d765192e-52b7-4981-bbe4-67d3134d5abc.ics</D:href>
debug: </C:unique-scheduling-object-resource>
debug: </D:error>
The precondition is documented at https://icalendar.org/CalDAV-Scheduling-RFC-6638/3-2-4-1-caldav-unique-scheduling-object-resource-precondition.html.
Currently, vdirsyncer does not make any attempt to interpret errors it receives from the server. In fact, prior to #1187, it does not even log them.
However, if a server returns an error message in a spec-compliant form, it seems like vdirsyncer should report that directly to the user, since the meaning is well-defined and understood.
Metadata
Metadata
Assignees
Labels
No labels