[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 18:02:54 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:  closed          
 Priority:  3: Important        |    Milestone:  1.x             
Component:  Calendar Server     |      Version:                  
 Severity:  Other               |   Resolution:  worksforme      
 Keywords:                      |  
--------------------------------+-------------------------------------------
Changes (by cdaboo at apple.com):

  * status:  new => closed
  * resolution:  => worksforme

Comment:

 There are two types of "precondition" being used:

 1) The HTTP If-Match/If-None-Match pre-condition behavior using ETags. An
 error with one of those should return a 412. I believe it does.

 2) A WebDAV pre-condition/post-condition DAV:error response. Those should
 return a 403 - again I believe that is working fine. Check the latest
 WebDAV spec RFC4918 to see how those are used.

 The problem here is that the term "precondition" is being used in two
 different ways.

 I am going to mark this as "worksforme" - if you disagree with my analysis
 go ahead and change it back with an explanation...

-- 
Ticket URL: <https://trac.calendarserver.org/ticket/273#comment:3>
CalendarServer </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list