aboutsummaryrefslogtreecommitdiff
path: root/tests/rfc4791/7.8.5/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/7.8.5/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/7.8.5/request')
-rw-r--r--tests/rfc4791/7.8.5/request23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/rfc4791/7.8.5/request b/tests/rfc4791/7.8.5/request
new file mode 100644
index 00000000..b8391c8e
--- /dev/null
+++ b/tests/rfc4791/7.8.5/request
@@ -0,0 +1,23 @@
+REPORT /bernard/work/ HTTP/1.1
+Host: cal.example.com
+Depth: 1
+Content-Type: application/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav">
+ <D:prop xmlns:D="DAV:">
+ <D:getetag/>
+ <C:calendar-data/>
+ </D:prop>
+ <C:filter>
+ <C:comp-filter name="VCALENDAR">
+ <C:comp-filter name="VTODO">
+ <C:comp-filter name="VALARM">
+ <C:time-range start="20060106T100000Z"
+ end="20060107T100000Z"/>
+ </C:comp-filter>
+ </C:comp-filter>
+ </C:comp-filter>
+ </C:filter>
+</C:calendar-query>