diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index ba14c45f..664bd9fc 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -619,7 +619,7 @@ public class CaldavConnection extends AbstractConnection { public void sendFolderOrItem(CaldavRequest request) throws IOException { String folderPath = request.getFolderPath(); // process request before sending response to avoid sending headers twice on error - ExchangeSession.Folder folder = session.getFolder(request.getFolderPath(null)); + ExchangeSession.Folder folder = session.getFolder(folderPath); List contacts = null; List events = null; List folderList = null; @@ -988,6 +988,9 @@ public class CaldavConnection extends AbstractConnection { if (request.hasProperty("resourcetype")) { response.appendProperty("D:resourcetype", ""); } + if (request.hasProperty("supported-report-set")) { + response.appendProperty("D:supported-report-set", ""); + } response.endPropStatOK(); response.endResponse(); response.endMultistatus();