Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0870-Principal-PROPFIND.test
blobe1ca9f22eb862180550c186348f6f2e4a1646c52
2 # Testing for Spec compliance.  PROPFIND on the root
4 TYPE=PROPFIND
5 URL=http://regression.host/~user1/
6 HEADER=User-Agent: RFC2518 Spec Tests
7 HEADER=Depth: 0
8 HEADER=Content-Type: application/xml
10 REPLACE=#<creationdate>2\d{3}-\d\d-\d\dT\d\d:\d\d:\d\d[+-]\d\d:\d\d</creationdate>#<creationdate>YYYY-MM-DDThh:mm:ss+ZZ:ZZ</creationdate>#
12 # Older versions of PHP urlencoded the ~ incorrectly.  Ignore it.
13 # REPLACE=/%7Euser1/=/~user1/=
14 REPLACE=#%7E#~#
16 BEGINDATA
17 <?xml version="1.0" encoding="utf-8"?>
18 <propfind xmlns="DAV:">
19  <prop>
20   <acl/>
21   <creationdate/>
22   <displayname/>
23   <getcontentlanguage/>
24   <getcontentlength/>
25   <getcontenttype/>
26   <getetag/>
27   <getlastmodified/>
28   <lockdiscovery/>
29   <resourcetype/>
30   <source/>
31   <supportedlock/>
32   <checked-in/>
33   <checked-out/>
34  </prop>
35 </propfind>
36 ENDDATA