From a6c747412c0960331e4055eee97d8328ff88d584 Mon Sep 17 00:00:00 2001 From: James Lal Date: Mon, 18 Jun 2012 20:51:13 -0700 Subject: Initial hack --- samples/calendar-data | 11 +++++++ samples/get-props | 0 samples/resource-type | 10 +++++++ samples/xml/calendar-multiget.xml | 63 +++++++++++++++++++++++++++++++++++++++ samples/xml/prop-get.xml | 27 +++++++++++++++++ samples/xml/propstat-success.xml | 10 +++++++ 6 files changed, 121 insertions(+) create mode 100644 samples/calendar-data create mode 100644 samples/get-props create mode 100644 samples/resource-type create mode 100644 samples/xml/calendar-multiget.xml create mode 100644 samples/xml/prop-get.xml create mode 100644 samples/xml/propstat-success.xml (limited to 'samples') diff --git a/samples/calendar-data b/samples/calendar-data new file mode 100644 index 0000000..1b9ed7b --- /dev/null +++ b/samples/calendar-data @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/samples/get-props b/samples/get-props new file mode 100644 index 0000000..e69de29 diff --git a/samples/resource-type b/samples/resource-type new file mode 100644 index 0000000..a6aa471 --- /dev/null +++ b/samples/resource-type @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/samples/xml/calendar-multiget.xml b/samples/xml/calendar-multiget.xml new file mode 100644 index 0000000..9ef1aaf --- /dev/null +++ b/samples/xml/calendar-multiget.xml @@ -0,0 +1,63 @@ + + + /dav/calmozilla1/Calendar/calmozilla1/6e4d147f-4d75-436f-a233-976fd06fd3f7.ics + + HTTP/1.1 200 OK + + BEGIN:VCALENDAR + VERSION:2.0 PRODID:Zimbra-Calendar-Provider + BEGIN:VTIMEZONE TZID:Etc/GMT + BEGIN:STANDARD DTSTART:19710101T000000 + TZOFFSETTO:-0000 TZOFFSETFROM:-0000 + TZNAME:GMT END:STANDARD + END:VTIMEZONE BEGIN:VEVENT + UID:6e4d147f-4d75-436f-a233-976fd06fd3f7 SUMMARY:Foo + ORGANIZER:mailto:calmozilla1@yahoo.com DTSTART;TZID="Etc/GMT":20120629T143000 + DTEND;TZID="Etc/GMT":20120629T150000 STATUS:CONFIRMED + CLASS:PUBLIC X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY + TRANSP:OPAQUE X-MICROSOFT-DISALLOW-COUNTER:TRUE + DTSTAMP:20120616T221243Z SEQUENCE:0 + END:VEVENT END:VCALENDAR + "2-2" + + + + + /dav/calmozilla1/Calendar/calmozilla1/25b74da2-47d3-4ea8-be27-774fb13041b8.ics + + HTTP/1.1 200 OK + + BEGIN:VCALENDAR + VERSION:2.0 PRODID:Zimbra-Calendar-Provider + BEGIN:VEVENT UID:25b74da2-47d3-4ea8-be27-774fb13041b8 + SUMMARY:Bar ORGANIZER;CN=Sahaja Lal:mailto:calmozilla1@yahoo.com + DTSTART;VALUE=DATE:20120630 DTEND;VALUE=DATE:20120701 + STATUS:CONFIRMED CLASS:PUBLIC + X-MICROSOFT-CDO-ALLDAYEVENT:TRUE X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY + TRANSP:OPAQUE X-MICROSOFT-DISALLOW-COUNTER:TRUE + DTSTAMP:20120616T221255Z SEQUENCE:0 + END:VEVENT END:VCALENDAR + "3-3" + + + + + /dav/calmozilla1/Calendar/calmozilla1/a8c499cb-3cab-44d5-ab1e-18abc0f5286f.ics + + HTTP/1.1 200 OK + + BEGIN:VCALENDAR + VERSION:2.0 PRODID:Zimbra-Calendar-Provider + BEGIN:VEVENT UID:a8c499cb-3cab-44d5-ab1e-18abc0f5286f + SUMMARY:Baz ORGANIZER;CN=Sahaja Lal:mailto:calmozilla1@yahoo.com + DTSTART;VALUE=DATE:20120628 DTEND;VALUE=DATE:20120629 + STATUS:CONFIRMED CLASS:PUBLIC + X-MICROSOFT-CDO-ALLDAYEVENT:TRUE X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY + TRANSP:OPAQUE X-MICROSOFT-DISALLOW-COUNTER:TRUE + DTSTAMP:20120616T221305Z SEQUENCE:0 + END:VEVENT END:VCALENDAR + "4-4" + + + + diff --git a/samples/xml/prop-get.xml b/samples/xml/prop-get.xml new file mode 100644 index 0000000..72ee984 --- /dev/null +++ b/samples/xml/prop-get.xml @@ -0,0 +1,27 @@ + + + + + /calendar/dav/calmozilla1%40gmail.com/user/ + + HTTP/1.1 200 OK + + + /calendar/dav/calmozilla1@gmail.com/user/ + + + + + + + + + + HTTP/1.1 404 Not Found + + + + + + + diff --git a/samples/xml/propstat-success.xml b/samples/xml/propstat-success.xml new file mode 100644 index 0000000..93f27ec --- /dev/null +++ b/samples/xml/propstat-success.xml @@ -0,0 +1,10 @@ +HTTP/1.1 200 OK + + + /calendar/dav/calmozilla1@gmail.com/user/ + + + + + + -- cgit