[Ietf-caldav] calendar-query REPORT depth handling?
Filip Navara
navara at emclient.com
Sun Jul 20 15:16:55 PDT 2008
> -----Original Message-----
> From: Cyrus Daboo <cyrus at daboo.name>
> To: Filip Navara <navara at emclient.com>, ietf-caldav at osafoundation.org
> Cc: Arnaud Quillaud <Arnaud.Quillaud at Sun.COM>
> Date: 07/20/08 23:29
> Subject: Re: [Ietf-caldav] calendar-query REPORT depth handling?
>
> 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
https://trac.calendarserver.org/ticket/297
Thanks for quick answer,
Filip Navara
More information about the Ietf-caldav
mailing list