davical/testing/tests/regression-suite/0817-Spec-PUT.result
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
This allows us to have more complex test files where an action is taken, then
we test something, then another action is taken, etc.

Changes to test files are required so that URL is defined after all the
required settings are set.

Changes to the result files are either whitespace changes due to above logic
changes, or printing out a SQL Result header before each result. I figured it
was useful.
2024-04-01 22:57:10 +13:00

66 lines
1.9 KiB
Plaintext

HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "165746adbab8bc0c8336a63cc5332ff2"
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
SQL Query 1 Result:
CalDAV Data: >BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//davical.org//NONSGML AWL Calendar//EN
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Pacific/Auckland
BEGIN:STANDARD
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
DTSTART:19900318T030000
RRULE:FREQ=YEARLY;UNTIL=20070317T140000Z;BYMONTH=3;BYDAY=3SU
TZNAME:NZST
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
DTSTART:19901007T020000
RRULE:FREQ=YEARLY;UNTIL=20060930T140000Z;BYMONTH=10;BYDAY=1SU
TZNAME:NZDT
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DESCRIPTION:Have a party. All the best parties are monthly!
UID:DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74
DTSTAMP:20081024T220925Z
SUMMARY:Party all day!
CREATED:20081024T220749Z
DTSTART;TZID=Pacific/Auckland;VALUE=DATE:20081114
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2FR
END:VEVENT
END:VCALENDAR
<
caldav_type: >VEVENT<
class: >NULL<
dav_etag: >165746adbab8bc0c8336a63cc5332ff2<
description: >Have a party. All the best parties are monthly!<
dtend: >2008-11-15 00:00:00<
dtstamp: >2008-10-24 22:09:25<
dtstart: >2008-11-14 00:00:00<
due: >NULL<
last_modified: >2008-10-24 22:09:25<
location: >NULL<
logged_user: >10<
percent_complete: >NULL<
priority: >NULL<
rrule: >FREQ=MONTHLY;INTERVAL=1;BYDAY=2FR<
status: >NULL<
summary: >Party all day!<
transp: >NULL<
tz_id: >Pacific/Auckland<
uid: >DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74<
url: >NULL<
user_no: >10<
~Duration: >1 day<