[ietf-caldav] Getting a list of delegated calendars from the server
nick at chronosnet.com
Tue Dec 15 17:10:04 PST 2009
I'm writing a CalDAV client, and I've run into an issue that is apparently not mentioned in the RFC, nor am I having an easy time searching online for the required information.
Apple iCal has a "delegation" feature where the user can see other calendars the user is allowed to access on the server that are not present in the calendar home set URL. I'd like to get that information, too, so I searched around, and found <http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk/doc/Extensions/caldav-proxy.txt>, which shows how to get this information from Apple's calendar server.
Okay, but right now I'm less concerned about Apple's server and more concerned with a widely-used calendar service known as Google. When I try sending the principal-match report in that caldav-proxy document to the principal URL on a Google Calendar account, I get an HTTP error 501 in response. But when I connect to the same account in iCal, iCal's delegation tab will show the other calendars on the Google Calendar account in the tab. (Google Calendar, for some reason, does not put the user's additional calendars in the user's calendar home set, but puts them somewhere else.)
Where is it getting this information? How do I get **every** calendar the user is allowed to access on the server, including the ones that aren't in the calendar home set?
Normally I'd tap the connection and figure this out myself, but Google Calendar uses SSL exclusively, so that won't work. I also tried looking in some properties, like the calendar home set and additional principal sets, but I couldn't find the information.
More information about the ietf-caldav