Caldav: added getcontenttype on Inbox for Sunbird 1.0pre

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

View File

@ -344,6 +344,9 @@ public class CaldavConnection extends AbstractConnection {
response.appendProperty("D:resourcetype", "<D:collection/>" +
"<C:schedule-inbox xmlns:C=\"urn:ietf:params:xml:ns:caldav\"/>");
}
if (request.hasProperty("getcontenttype")) {
response.appendProperty("D:getcontenttype", "text/calendar; component=vevent");
}
if (request.hasProperty("getctag")) {
response.appendProperty("CS:getctag", "CS=\"http://calendarserver.org/ns/\"",
base64Encode(session.getInboxCtag()));