code: function createCalendarObject(calendar, options) {
    var objectUrl = _url2['default'].resolve(calendar.url, options.filename);
    options.contentType = options.contentType || "text/calendar; charset=utf-8";
    return webdav.createObject(objectUrl, options.data, options);
  }
docs: @param {dav.Calendar} calendar the calendar to put the object on.
  @return {Promise} promise will resolve when the calendar has been created.
  
  Options:
  
  (String) data - rfc 5545 VCALENDAR object.
  (String) filename - name for the calendar ics file.
  (dav.Sandbox) sandbox - optional request sandbox.
  (dav.Transport) xhr - request sender.