mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
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:
parent
4c455a4c07
commit
87a13ea7e3
2
testing/tests/regression-suite/205-Moz-PROPFIND-1.data
Normal file
2
testing/tests/regression-suite/205-Moz-PROPFIND-1.data
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0"?>
|
||||
<D:propfind xmlns:D="DAV:"><D:prop><D:resourcetype/></D:prop></D:propfind>
|
||||
22
testing/tests/regression-suite/205-Moz-PROPFIND-1.result
Normal file
22
testing/tests/regression-suite/205-Moz-PROPFIND-1.result
Normal 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>
|
||||
13
testing/tests/regression-suite/205-Moz-PROPFIND-1.test
Normal file
13
testing/tests/regression-suite/205-Moz-PROPFIND-1.test
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user