Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Support 'component'(=VEVENT,VTODO) parameter in getcontenttype properties of PROPFIND results #239
helge@… originally submitted this as ticket:303
Small wish: could iCalServer set the 'component' property in resource content-types? This would make in-place filtering of PROPFIND results easier:
In Outlook we need to map a single calendar collection to two (or three) Outlook folders, eg "Calendar (Events)" and "Calendar (Tasks)". In Outlook each folder has a distinct type (its either tasks or events, never both).
So when we do a PROPFIND on a CalDAV calendar which supports both (calendar-component-set: VEVENT+VTODO), tasks and events (and journals ...), we currently just get the generic text/calendar type. We need to fetch the content to decide whether the item is relevant or not for a specific Outlook folder type. If the server would report the contained component-type, we could avoid that annoyingly hard work ;-)
PS: obviously the client can't (and shouldn't) rely on that parameter, but its a relevant optimization.