aboutsummaryrefslogtreecommitdiff
path: root/tests/rfc4791/7.8.6/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.6/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.6/request')
-rw-r--r--tests/rfc4791/7.8.6/request23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/rfc4791/7.8.6/request b/tests/rfc4791/7.8.6/request
new file mode 100644
index 00000000..b86a0e45
--- /dev/null
+++ b/tests/rfc4791/7.8.6/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="VEVENT">
+ <C:prop-filter name="UID">
+ <C:text-match collation="i;octet"
+ >DC6C50A017428C5216A2F1CD@example.com</C:text-match>
+ </C:prop-filter>
+ </C:comp-filter>
+ </C:comp-filter>
+ </C:filter>
+</C:calendar-query>