diff options
Diffstat (limited to 'tests/rfc4791/7.9.1')
-rw-r--r-- | tests/rfc4791/7.9.1/request | 15 | ||||
-rw-r--r-- | tests/rfc4791/7.9.1/response | 53 |
2 files changed, 68 insertions, 0 deletions
diff --git a/tests/rfc4791/7.9.1/request b/tests/rfc4791/7.9.1/request new file mode 100644 index 00000000..e2317b3a --- /dev/null +++ b/tests/rfc4791/7.9.1/request @@ -0,0 +1,15 @@ +REPORT /bernard/work/ HTTP/1.1 +Host: cal.example.com +Content-Type: application/xml; charset="utf-8" +Content-Length: xxxx + +<?xml version="1.0" encoding="utf-8" ?> +<C:calendar-multiget xmlns:D="DAV:" + xmlns:C="urn:ietf:params:xml:ns:caldav"> + <D:prop> + <D:getetag/> + <C:calendar-data/> + </D:prop> + <D:href>/bernard/work/abcd1.ics</D:href> + <D:href>/bernard/work/mtg1.ics</D:href> +</C:calendar-multiget> diff --git a/tests/rfc4791/7.9.1/response b/tests/rfc4791/7.9.1/response new file mode 100644 index 00000000..72d584f8 --- /dev/null +++ b/tests/rfc4791/7.9.1/response @@ -0,0 +1,53 @@ +HTTP/1.1 207 Multi-Status +Date: Sat, 11 Nov 2006 09:32:12 GMT +Content-Type: application/xml; charset="utf-8" +Content-Length: xxxx + +<?xml version="1.0" encoding="utf-8" ?> +<D:multistatus xmlns:D="DAV:" + xmlns:C="urn:ietf:params:xml:ns:caldav"> + <D:response> + <D:href>http://cal.example.com/bernard/work/abcd1.ics</D:href> + <D:propstat> + <D:prop> + <D:getetag>"fffff-abcd1"</D:getetag> + <C:calendar-data>BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Corp.//CalDAV Client//EN +BEGIN:VTIMEZONE +LAST-MODIFIED:20040110T032845Z +TZID:US/Eastern +BEGIN:DAYLIGHT +DTSTART:20000404T020000 +RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 +TZNAME:EDT +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +END:DAYLIGHT +BEGIN:STANDARD +DTSTART:20001026T020000 +RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 +TZNAME:EST +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +DTSTAMP:20060206T001102Z +DTSTART;TZID=US/Eastern:20060102T100000 +DURATION:PT1H +SUMMARY:Event #1 +Description:Go Steelers! +UID:74855313FA803DA593CD579A@example.com +END:VEVENT +END:VCALENDAR +</C:calendar-data> + </D:prop> + <D:status>HTTP/1.1 200 OK</D:status> + </D:propstat> + </D:response> + <D:response> + <D:href>http://cal.example.com/bernard/work/mtg1.ics</D:href> + <D:status>HTTP/1.1 404 Not Found</D:status> + </D:response> +</D:multistatus> |