From f957a04f68bd87451ff36322ef6888e3ccb83799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 18 Apr 2023 02:15:04 +0200 Subject: Import test cases from RFC 4791 (CalDAV). --- tests/rfc4791/5.3.2/request | 17 +++++++++++++++++ tests/rfc4791/5.3.2/response | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 tests/rfc4791/5.3.2/request create mode 100644 tests/rfc4791/5.3.2/response (limited to 'tests/rfc4791/5.3.2') diff --git a/tests/rfc4791/5.3.2/request b/tests/rfc4791/5.3.2/request new file mode 100644 index 00000000..aac71656 --- /dev/null +++ b/tests/rfc4791/5.3.2/request @@ -0,0 +1,17 @@ +PUT /home/lisa/calendars/events/qwue23489.ics HTTP/1.1 +If-None-Match: * +Host: cal.example.com +Content-Type: text/calendar +Content-Length: xxxx + +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Corp.//CalDAV Client//EN +BEGIN:VEVENT +UID:20010712T182145Z-123401@example.com +DTSTAMP:20060712T182145Z +DTSTART:20060714T170000Z +DTEND:20060715T040000Z +SUMMARY:Bastille Day Party +END:VEVENT +END:VCALENDAR diff --git a/tests/rfc4791/5.3.2/response b/tests/rfc4791/5.3.2/response new file mode 100644 index 00000000..9df8e38e --- /dev/null +++ b/tests/rfc4791/5.3.2/response @@ -0,0 +1,4 @@ +HTTP/1.1 201 Created +Content-Length: 0 +Date: Sat, 11 Nov 2006 09:32:12 GMT +ETag: "123456789-000-111" -- cgit v1.2.3