dav
dav copied to clipboard
Have createCalendarObject return a CalendarObject
Currently the method returns the xhr request, it would be nice to get at least a partial CalendarObject that contains the ETag from the response (if one is specified) and the url. With rfc7240 and return=representation the calendar data could also be filled out.
As an addition or alternative, it would also be nice to have a getCalendarObject method that returns the item based on the url (or maybe UID, if searching by it is supported on the server).