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:
parent
b8a93905f1
commit
3e4ccc55d8
|
@ -344,6 +344,9 @@ public class CaldavConnection extends AbstractConnection {
|
||||||
response.appendProperty("D:resourcetype", "<D:collection/>" +
|
response.appendProperty("D:resourcetype", "<D:collection/>" +
|
||||||
"<C:schedule-inbox xmlns:C=\"urn:ietf:params:xml:ns:caldav\"/>");
|
"<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")) {
|
if (request.hasProperty("getctag")) {
|
||||||
response.appendProperty("CS:getctag", "CS=\"http://calendarserver.org/ns/\"",
|
response.appendProperty("CS:getctag", "CS=\"http://calendarserver.org/ns/\"",
|
||||||
base64Encode(session.getInboxCtag()));
|
base64Encode(session.getInboxCtag()));
|
||||||
|
|
Loading…
Reference in New Issue