aboutsummaryrefslogtreecommitdiff
path: root/tests/rfc4791/5.3.1.2/request
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-04-18 02:15:04 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-04-18 02:15:04 +0200
commitf957a04f68bd87451ff36322ef6888e3ccb83799 (patch)
tree24251414a9fb5a6655273fbdaf9185a88c5d777f /tests/rfc4791/5.3.1.2/request
parentAllow compilation without sqlite3 module. (diff)
downloadcalp-f957a04f68bd87451ff36322ef6888e3ccb83799.tar.gz
calp-f957a04f68bd87451ff36322ef6888e3ccb83799.tar.xz
Import test cases from RFC 4791 (CalDAV).
Diffstat (limited to 'tests/rfc4791/5.3.1.2/request')
-rw-r--r--tests/rfc4791/5.3.1.2/request42
1 files changed, 42 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>