From 1d778e4f38ff3225e6dbac0d3891f67c966006af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 18 Apr 2023 08:29:33 +0200 Subject: Update test cases from RFC 4791 to be parsable by Guile. --- tests/rfc4791/7.8.7/request | 2 +- tests/rfc4791/7.8.7/respnose | 55 -------------------------------------------- tests/rfc4791/7.8.7/response | 55 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 tests/rfc4791/7.8.7/respnose create mode 100644 tests/rfc4791/7.8.7/response (limited to 'tests/rfc4791/7.8.7') diff --git a/tests/rfc4791/7.8.7/request b/tests/rfc4791/7.8.7/request index bd806cbc..cb030130 100644 --- a/tests/rfc4791/7.8.7/request +++ b/tests/rfc4791/7.8.7/request @@ -2,7 +2,7 @@ REPORT /bernard/work/ HTTP/1.1 Host: cal.example.com Depth: 1 Content-Type: application/xml; charset="utf-8" -Content-Length: xxxx +Content-Length: 0 diff --git a/tests/rfc4791/7.8.7/respnose b/tests/rfc4791/7.8.7/respnose deleted file mode 100644 index 1f0aa3e6..00000000 --- a/tests/rfc4791/7.8.7/respnose +++ /dev/null @@ -1,55 +0,0 @@ -HTTP/1.1 207 Multi-Status -Date: Sat, 11 Nov 2006 09:32:12 GMT -Content-Type: application/xml; charset="utf-8" -Content-Length: xxxx - - - - - http://cal.example.com/bernard/work/abcd3.ics - - - "fffff-abcd3" - BEGIN:VCALENDAR -VERSION:2.0 -PRODID:-//Example Corp.//CalDAV Client//EN -BEGIN:VTIMEZONE -LAST-MODIFIED:20040110T032845Z -TZID:US/Eastern -BEGIN:DAYLIGHT -DTSTART:20000404T020000 -RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 -TZNAME:EDT -TZOFFSETFROM:-0500 -TZOFFSETTO:-0400 -END:DAYLIGHT -BEGIN:STANDARD -DTSTART:20001026T020000 -RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 -TZNAME:EST -TZOFFSETFROM:-0400 -TZOFFSETTO:-0500 -END:STANDARD -END:VTIMEZONE -BEGIN:VEVENT -ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com -ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com -DTSTAMP:20060206T001220Z -DTSTART;TZID=US/Eastern:20060104T100000 -DURATION:PT1H -LAST-MODIFIED:20060206T001330Z -ORGANIZER:mailto:cyrus@example.com -SEQUENCE:1 -STATUS:TENTATIVE -SUMMARY:Event #3 -UID:DC6C50A017428C5216A2F1CD@example.com -X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com -END:VEVENT -END:VCALENDAR - - - HTTP/1.1 200 OK - - - diff --git a/tests/rfc4791/7.8.7/response b/tests/rfc4791/7.8.7/response new file mode 100644 index 00000000..cd257a10 --- /dev/null +++ b/tests/rfc4791/7.8.7/response @@ -0,0 +1,55 @@ +HTTP/1.1 207 Multi-Status +Date: Sat, 11 Nov 2006 09:32:12 GMT +Content-Type: application/xml; charset="utf-8" +Content-Length: 0 + + + + + http://cal.example.com/bernard/work/abcd3.ics + + + "fffff-abcd3" + BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//Example Corp.//CalDAV Client//EN +BEGIN:VTIMEZONE +LAST-MODIFIED:20040110T032845Z +TZID:US/Eastern +BEGIN:DAYLIGHT +DTSTART:20000404T020000 +RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4 +TZNAME:EDT +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +END:DAYLIGHT +BEGIN:STANDARD +DTSTART:20001026T020000 +RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 +TZNAME:EST +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +END:STANDARD +END:VTIMEZONE +BEGIN:VEVENT +ATTENDEE;PARTSTAT=ACCEPTED;ROLE=CHAIR:mailto:cyrus@example.com +ATTENDEE;PARTSTAT=NEEDS-ACTION:mailto:lisa@example.com +DTSTAMP:20060206T001220Z +DTSTART;TZID=US/Eastern:20060104T100000 +DURATION:PT1H +LAST-MODIFIED:20060206T001330Z +ORGANIZER:mailto:cyrus@example.com +SEQUENCE:1 +STATUS:TENTATIVE +SUMMARY:Event #3 +UID:DC6C50A017428C5216A2F1CD@example.com +X-ABC-GUID:E1CX5Dr-0007ym-Hz@example.com +END:VEVENT +END:VCALENDAR + + + HTTP/1.1 200 OK + + + -- cgit v1.2.3