mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-10 11:25:00 -05:00
Return a calendar etag
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@272 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
4d80841b7b
commit
23549bfcac
@ -300,9 +300,14 @@ public class CaldavConnection extends AbstractConnection {
|
||||
buffer.append(" <D:href>/principals/users/").append(principal).append("</D:href>\n");
|
||||
buffer.append(" </D:owner>\n");
|
||||
}
|
||||
if (request.hasProperty("getetag")) {
|
||||
buffer.append(" <D:getetag>")
|
||||
.append(base64Encode(session.getCalendarCtag()))
|
||||
.append("</D:getetag>\n");
|
||||
}
|
||||
if (request.hasProperty("getctag")) {
|
||||
buffer.append(" <CS:getctag xmlns:CS=\"http://calendarserver.org/ns/\">")
|
||||
.append(base64Encode(session.getCalendarEtag()))
|
||||
.append(base64Encode(session.getCalendarCtag()))
|
||||
.append("</CS:getctag>\n");
|
||||
}
|
||||
if (request.hasProperty("displayname")) {
|
||||
|
Loading…
Reference in New Issue
Block a user