mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-22 17:16:06 +00:00
MKCALENDAR result issued from SOHO Organizer.
This commit is contained in:
parent
03d82193cc
commit
54946e1f6a
@ -0,0 +1,7 @@
|
||||
HTTP/1.1 201 Created
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, access-control, calendar-access
|
||||
Cache-Control: no-cache
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
39
testing/tests/regression-suite/605-Soho-MKCALENDAR.test
Normal file
39
testing/tests/regression-suite/605-Soho-MKCALENDAR.test
Normal file
@ -0,0 +1,39 @@
|
||||
#
|
||||
# SOHO Organizer works best looking at the person
|
||||
#
|
||||
# Make a new calendar for the user
|
||||
#
|
||||
TYPE=MKCALENDAR
|
||||
URL=http://mycaldav/caldav.php/user1/
|
||||
|
||||
HEADER=User-Agent: SOHO Organizer/6.5.2 libcurl/7.17.0 OpenSSL/0.9.7l zlib/1.2.3 libssh2/0.17
|
||||
HEADER=Content-Type: text/xml; charset=utf-8
|
||||
HEADER=Accept: */*
|
||||
HEADER=Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
HEAD
|
||||
|
||||
|
||||
# Reformatted for readability
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<C:mkcalendar xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:I="com.apple.ical:">
|
||||
<D:set>
|
||||
<D:prop>
|
||||
<D:displayname>SOHO+collection</D:displayname>
|
||||
<I:calendarcolor>#0000FFFF</I:calendarcolor>
|
||||
<C:supported-calendar-component-set>
|
||||
<C:comp name="VEVENT"/>
|
||||
<C:comp name="VTODO"/>
|
||||
<C:comp name="VTIMEZONE"/>
|
||||
<C:comp name="VJOURNAL"/>
|
||||
<C:comp name="VFREEBUSY"/>
|
||||
</C:supported-calendar-component-set>
|
||||
</D:prop>
|
||||
</D:set>
|
||||
</C:mkcalendar>
|
||||
ENDDATA
|
||||
|
||||
QUERY
|
||||
SELECT * FROM collection WHERE dav_name = '/user1/SOHO+collection';
|
||||
ENDQUERY
|
||||
Loading…
x
Reference in New Issue
Block a user