From c5c7b157c2956ff76c8a43026f5357b49636d3bc Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 3 Aug 2011 09:15:14 +0000 Subject: [PATCH] Caldav: implement supported-report-set git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1753 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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();