Mailing List Archive

[Re: How to get DAV:sync-collection and DAV:supported-report-set?]
I was able to answer my own question, but I post it here for
reference.

You can get sync-collection from a supported-report-set request by
asking for the supported-report-set in the PROPFIND/prop request list.
e.g.: a request like this (see also http://pastebin.com/7PY9WC7W)

PROPFIND /kirk/home/ HTTP/1.1
Host: caldav.domain.com
User-Agent: Evolution/2.30.3
Depth: 0
Content-Type: application/xml
Connection: close
Authorization: Basic xxxxxx
Content-Length: 528

<propfind xmlns="DAV:"
xmlns:caldav="urn:ietf:params:xml:ns:caldav"
xmlns:calendarserver="http://calendarserver.org/ns/"
xmlns:ical="http://apple.com/ns/ical/">
<prop>
<displayname/>
<resourcetype/>
<supported-method-set/>
<supported-report-set/>
<caldav:supported-calendar-component-set/>
<caldav:calendar-description/>
<caldav:calendar-timezone/>
<caldav:calendar-free-busy-set/>
<calendarserver:getctag/>
<ical:calendar-color/>
<ical:calendar-order/>
</prop>
</propfind>


>Kirk






-------- Forwarded Message --------
From: Kirk Wolff <kirk@wolffelectronicdesign.com>
To: davical-general at lists.sourceforge.net
Subject: How to get DAV:sync-collection and DAV:supported-report-set?
Date: Fri, 21 Jan 2011 16:20:13 -0600

How do I get DAV:sync-collection and DAV:supported-report-set from
davical?

The pasetbin shows the tcp traffic log from wireshark for an OPTIONS,
PROPFIND, and REPORT request.

Nowhere in the log do I see a supported-report-set.

http://pastebin.com/QyczTj8p


I know somewhere in the dav code there is a supported-report-set with
sync-collection as an item listed, but I'm not seeing it being sent to
the server.

>Kirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.davical.org/pipermail/davical-dev/attachments/20110121/8d8fd978/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.davical.org/pipermail/davical-dev/attachments/20110121/8d8fd978/attachment.pgp>