#
# Fetch a future instance from a recurring event.
# To test: https://gitlab.com/davical-project/davical/-/issues/268
#
TYPE=REPORT
URL=http://regression.host/caldav.php/user1/home/
HEADER=Content-Type: text/xml
HEADER=Depth: 1
HEAD


BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<c:calendar-query
    xmlns:c="urn:ietf:params:xml:ns:caldav"
    xmlns:cs="http://calendarserver.org/ns/"
    xmlns:ca="http://apple.com/ns/ical/"
    xmlns:d="DAV:">
    <d:prop>
        <d:getetag/>
        <c:calendar-data>
            <c:expand start="20220721T154500Z" end="20220721T160000Z"/>
        </c:calendar-data>
    </d:prop>
    <c:filter>
        <c:comp-filter name="VCALENDAR">
            <c:comp-filter name="VEVENT">
                <c:time-range start="20220721T154500Z" end="20220721T160000Z"/>
            </c:comp-filter>
        </c:comp-filter>
    </c:filter>
</c:calendar-query>
ENDDATA

REPLACE=/ETag: "[a-z0-9]+"/ETag: "looks like an etag"/
