Re: [CalendarServer] #273: `valid-calendar-object-resource` precondition failure returns with a `403 FORBIDDEN`, should be `412 PRECONDITION FAILED`
#273: `valid-calendar-object-resource` precondition failure returns with a `403 FORBIDDEN`, should be `412 PRECONDITION FAILED` --------------------------------+------------------------------------------- Reporter: wsanchez@apple.com | Owner: cdaboo@apple.com Type: Defect | Status: new Priority: 3: Important | Milestone: 1.x Component: Calendar Server | Version: Severity: Other | Resolution: Keywords: | --------------------------------+------------------------------------------- Comment (by mail@david-reid.com): Replying to [ticket:273 wsanchez@apple.com]:
Via David C. R. Reid:
`valid-calendar-object-resource` precondition failure is sent with a `403 FORBIDDEN` status code, which probably should be `412 PRECONDITION FAILED`.
This seems to be the case for all preconditions relating to a PUT request. The RFC seems to say these errors should generate a 412 as the preconditions have failed to be met. -- Ticket URL: <https://trac.calendarserver.org/ticket/273#comment:2> CalendarServer </> HTTP/WebDAV/CalDAV Server
participants (1)
-
CalendarServer