[Ietf-caldav] calendar-query REPORT depth handling?

Cyrus Daboo cyrus at daboo.name
Sun Jul 20 14:29:44 PDT 2008


Hi Filip,

--On July 20, 2008 10:19:15 PM +0200 Filip Navara <navara at emclient.com> 
wrote:

> I would to know how the Depth header on calendar-query REPORTs should be
> handled. CalDAVTester sends no Depth header and expects the REPORT to
> apply on the resources inside the collection. My reading of RFC 4791 and
> RFC 3253 (section 3.6) says that if no Depth header is specified then
> Depth: 0 is assumed. According to my understanding I would expect Depth:
> 0 requests to return empty responses and not match any calendar
> resources. This assumption is aided by the fact that all RFC 4791
> examples explicitely specify Depth: 1 header. So, should Depth: 0 match
> the resources inside the collection or not?

As you noted, in RFC 4791 no Depth header means Depth:0, so CalDAVTester's 
behavior is wrong. Please file a bug on calendarserver.org for CalDAVTester 
and I will get that fixed. In fact I will change the current tests to use 
Depth:1 and then add a test that explicitly uses Depth:0 on a calendar 
collection and test that nothing comes back.

-- 
Cyrus Daboo



More information about the Ietf-caldav mailing list