Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0218-Moz-REPORT.test
blobd3d9c337deb055e6c01370acd54472df75bdad1a
2 # Request a REPORT as a user with read only access.
4 TYPE=REPORT
5 AUTH=manager1:manager1
6 URL=http://regression.host/caldav.php/user1/home/
7 HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20101108 Calendar/0.4a1
8 HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
9 HEADER=Accept-Language: en-us,en;q=0.5
10 HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
11 HEADER=Keep-Alive: 300
12 HEADER=Content-Type: text/xml
13 HEADER=Depth: 1
14 HEAD
16 BEGINDATA
17 <?xml version="1.0" encoding="UTF-8"?>
18 <calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
19   <D:prop>
20     <calendar-data/>
21   </D:prop>
22   <filter>
23     <comp-filter name="VCALENDAR">
24       <comp-filter name="VEVENT">
25         <time-range start="20061201T120000Z" end="20070506T120000Z"/>
26       </comp-filter>
27     </comp-filter>
28   </filter>
29 </calendar-query>
30 ENDDATA