Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0820-Spec-PROPFIND-1.test
bloba01295bfbf441ffbca1e849731692fc60bf5a511
2 # Testing for Spec compliance.  PROPFIND on a calendar collection.
4 TYPE=PROPFIND
5 URL=http://regression.host/caldav.php/user1/home/
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 BEGINDATA
13 <?xml version="1.0" encoding="utf-8"?>
14 <propfind xmlns="DAV:">
15  <prop>
16   <acl/>
17   <creationdate/>
18   <displayname/>
19   <getcontentlanguage/>
20   <getcontentlength/>
21   <getcontenttype/>
22   <getetag/>
23   <getlastmodified/>
24   <lockdiscovery/>
25   <resourcetype/>
26   <source/>
27   <supportedlock/>
28   <checked-in/>
29   <checked-out/>
30  </prop>
31 </propfind>
32 ENDDATA
34 # REPLACE=/<get.tag>"[0-9a-f]{32}"<.get.tag>/<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>/