diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rfc4791/5.3.1.2/request | 42 | ||||
-rw-r--r-- | tests/rfc4791/5.3.1.2/response | 4 |
2 files changed, 46 insertions, 0 deletions
diff --git a/tests/rfc4791/5.3.1.2/request b/tests/rfc4791/5.3.1.2/request new file mode 100644 index 00000000..e86f98e5 --- /dev/null +++ b/tests/rfc4791/5.3.1.2/request @@ -0,0 +1,42 @@ +MKCALENDAR /home/lisa/calendars/events/ 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:mkcalendar xmlns:D="DAV:" + xmlns:C="urn:ietf:params:xml:ns:caldav"> + <D:set> + <D:prop> + <D:displayname>Lisa's Events</D:displayname> + <C:calendar-description xml:lang="en" +>Calendar restricted to events.</C:calendar-description> + <C:supported-calendar-component-set> + <C:comp name="VEVENT"/> + </C:supported-calendar-component-set> + <C:calendar-timezone><![CDATA[BEGIN:VCALENDAR +PRODID:-//Example Corp.//CalDAV Client//EN +VERSION:2.0 +BEGIN:VTIMEZONE +TZID:US-Eastern +LAST-MODIFIED:19870101T000000Z +BEGIN:STANDARD +DTSTART:19671029T020000 +RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +TZNAME:Eastern Standard Time (US & Canada) +END:STANDARD +BEGIN:DAYLIGHT +DTSTART:19870405T020000 +RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +TZNAME:Eastern Daylight Time (US & Canada) +END:DAYLIGHT +END:VTIMEZONE +END:VCALENDAR +]]></C:calendar-timezone> + </D:prop> + </D:set> +</C:mkcalendar> diff --git a/tests/rfc4791/5.3.1.2/response b/tests/rfc4791/5.3.1.2/response new file mode 100644 index 00000000..0e8dd53a --- /dev/null +++ b/tests/rfc4791/5.3.1.2/response @@ -0,0 +1,4 @@ +HTTP/1.1 201 Created +Cache-Control: no-cache +Date: Sat, 11 Nov 2006 09:32:12 GMT +Content-Length: 0
\ No newline at end of file |