Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0221-Moz-PROPFIND.test
bloba0c614ca2e508297402e912b44d1dea258e76870
2 # Do a PROPFIND request
3 TYPE=PROPFIND
4 URL=http://regression.host/caldav.php/user5/home/
5 HEAD
6 AUTH=user5:user5
8 HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090324 Calendar/1.0pre
9 HEADER=Accept: text/xml
10 HEADER=Accept-Language: en-us,en;q=0.5
11 HEADER=Accept-Charset: utf-8,*;q=0.1
12 HEADER=Content-Type: text/xml; charset=utf-8
13 HEADER=Depth: 0
15 BEGINDATA
16 <D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/">
17   <D:prop>
18     <D:resourcetype/>
19     <D:owner/>
20     <CS:getctag/>
21   </D:prop>
22 </D:propfind>
23 ENDDATA
25 REPLACE=!<C1:getctag>"[a-z0-9]+"</C1:getctag>!<C1:getctag>"Looks like a good CTAG to me :-)"</C1:getctag>!
26 REPLACE=!^ETag: "[a-z0-9]+"!ETag: "Looks like a good ETAG to me :-)"!