Some initial test cases for Cadaver use.

This commit is contained in:
Andrew McMillan 2006-11-28 13:02:37 +13:00
parent b6de0dc7ed
commit 3a4931db60
5 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#
# Basic testing with Cadaver DAV client
#
TYPE=OPTIONS
URL=http://mycaldav/caldav.php/user1/home/
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<getcontentlength xmlns="DAV:"/>
<getlastmodified xmlns="DAV:"/>
<executable xmlns="http://apache.org/dav/props/"/>
<resourcetype xmlns="DAV:"/>
<checked-in xmlns="DAV:"/>
<checked-out xmlns="DAV:"/>
</prop></propfind>

View File

@ -0,0 +1,12 @@
#
# Using CADAVER to do a PROPFIND
#
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
HEADER=Connection: TE
HEADER=TE: trailers
HEADER=Depth: 0
HEADER=Content-Length: 297
HEADER=Content-Type: application/xml

View File

@ -0,0 +1,9 @@
#
# Doing a GET with cadaver
#
TYPE=GET
URL=http://mycaldav/caldav.php/user1/home/20061101T073004Z.ics
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
HEADER=Connection: TE
HEADER=TE: trailers