# # Testing with a process similar to iPhone 5 # TYPE=REPORT URL=http://regression.host/caldav.php/user1/home/ HEAD AUTH=user1:user1 HEADER=User-Agent: iOS/10.7.2 (11C35) dataaccessd/1.0 HEADER=Content-Type: text/xml HEADER=Depth: 1 # BEGINDATA ENDDATA # QUERY SELECT caldav_data.dav_name, dtstart, rrule FROM calendar_item JOIN caldav_data USING(dav_id) WHERE caldav_data.dav_name ~ '^/user1/home/' AND caldav_data.caldav_type = 'VEVENT' AND (rrule IS NOT NULL OR dtstart IS NULL OR ( (dtend IS NULL AND dtstart > '20110922T000000Z') OR dtend > '20110922T000000Z' ) ) ORDER BY dav_id ENDQUERY