Fix: explicit contenttag PROPFIND instead of DAV:allprops

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@450 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-03-18 12:09:03 +00:00
parent fd8c1eeaaa
commit b8a93905f1
1 changed files with 7 additions and 1 deletions

View File

@ -61,6 +61,12 @@ public class ExchangeSession {
DISPLAY_NAME.add("DAV:displayname");
}
protected static final Vector<String> CONTENT_TAG = new Vector<String>();
static {
CONTENT_TAG.add("http://schemas.microsoft.com/repl/contenttag");
}
public static final HashMap<String, String> PRIORITIES = new HashMap<String, String>();
@ -1641,7 +1647,7 @@ public class ExchangeSession {
public String getFolderCtag(String folderUrl) throws IOException {
String ctag = null;
Enumeration calendarEnum = wdr.propfindMethod(folderUrl, 0);
Enumeration calendarEnum = wdr.propfindMethod(folderUrl, 0, CONTENT_TAG);
if (!calendarEnum.hasMoreElements()) {
throw new IOException("Unable to get folder object");
}