1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

return empty resourcetype on events

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@268 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-12-30 14:32:19 +00:00
parent 74636cef0b
commit 61f8839e81

View File

@ -271,6 +271,9 @@ public class CaldavConnection extends AbstractConnection {
if (request.hasProperty("getetag")) {
buffer.append(" <D:getetag>").append(event.getEtag()).append("</D:getetag>\n");
}
if (request.hasProperty("resourcetype")) {
buffer.append(" <D:resourcetype/>");
}
buffer.append(" </D:prop>\n");
buffer.append(" <D:status>HTTP/1.1 200 OK</D:status>\n");
buffer.append(" </D:propstat>\n");