[CalendarServer-dev] Re: [CalendarServer] #273: `valid-calendar-object-resource` precondition failure returns with a `403 FORBIDDEN`, should be `412 PRECONDITION FAILED`

CalendarServer trac at macosforge.org
Wed May 7 16:10:57 PDT 2008


#273: `valid-calendar-object-resource` precondition failure returns with a `403
FORBIDDEN`, should be `412 PRECONDITION FAILED`
--------------------------------+-------------------------------------------
 Reporter:  wsanchez at apple.com  |        Owner:  cdaboo at apple.com
     Type:  Defect              |       Status:  new             
 Priority:  3: Important        |    Milestone:  1.x             
Component:  Calendar Server     |      Version:                  
 Severity:  Other               |   Resolution:                  
 Keywords:                      |  
--------------------------------+-------------------------------------------
Comment (by mail at david-reid.com):

 Replying to [ticket:273 wsanchez at 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


More information about the calendarserver-dev mailing list