Add test about PROPFIND from Mozilla, which it will be doing soon...

This is using patch 3 from bug 355270 as source.
This commit is contained in:
Andrew McMillan 2006-11-10 15:19:11 +13:00
parent 4c455a4c07
commit 87a13ea7e3
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<?xml version="1.0"?>
<D:propfind xmlns:D="DAV:"><D:prop><D:resourcetype/></D:prop></D:propfind>

View File

@ -0,0 +1,22 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
Server: Apache/2.2.3 (Debian) DAV/2
ETag: "616aa08e07fda27c1c1c9b30e6707460"
Content-Length: 343
Content-Type: text/xml;charset=UTF-8
<?xml version="1.0" encoding="UTF-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<propstat>
<prop>
<resourcetype>
<collection/>
<calendar xmlns="urn:ietf:params:xml:ns:caldav"/>
</resourcetype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -0,0 +1,13 @@
#
# Do a PROPFIND request
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home/
HEAD
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Encoding: gzip,deflate
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Content-Type: text/xml
HEADER=Depth: 0