Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0230-Moz-REPORT-Tasks-Completed.test
blobc39e43ca16e4370eab11ffbb71449b5eeb462b7d
2 # Do a REPORT request (test operation in subdirectory of unrelated site)
4 TYPE=REPORT
5 URL=http://alternate.host/davical/caldav.php/user1/home/
6 HEAD
8 HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7
9 HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
10 HEADER=Accept-Language: en-us,en;q=0.5
11 HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 HEADER=Content-Type: text/xml
13 HEADER=Depth: 1
17 BEGINDATA
18 <?xml version="1.0" encoding="UTF-8"?>
19 <calendar-query xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
20   <D:prop>
21     <D:getetag/>
22     <calendar-data/>
23   </D:prop>
24   <filter>
25     <comp-filter name="VCALENDAR">
26       <comp-filter name="VTODO">
27         <prop-filter name="COMPLETED">
28           <is-not-defined/>
29         </prop-filter>
30         <prop-filter name="STATUS">
31           <text-match negate-condition="yes">CANCELLED</text-match>
32         </prop-filter>
33       </comp-filter>
34     </comp-filter>
35   </filter>
36 </calendar-query>
37 ENDDATA