mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-30 16:00:25 +00:00
27 lines
730 B
Plaintext
27 lines
730 B
Plaintext
#
|
|
# Do a PROPFIND request
|
|
TYPE=PROPFIND
|
|
URL=http://mycaldav/caldav.php/user5/home/
|
|
HEAD
|
|
AUTH=user5:user5
|
|
|
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090324 Calendar/1.0pre
|
|
HEADER=Accept: text/xml
|
|
HEADER=Accept-Language: en-us,en;q=0.5
|
|
HEADER=Accept-Charset: utf-8,*;q=0.1
|
|
HEADER=Content-Type: text/xml; charset=utf-8
|
|
HEADER=Depth: 0
|
|
|
|
BEGINDATA
|
|
<D:propfind xmlns:D="DAV:" xmlns:CS="http://calendarserver.org/ns/">
|
|
<D:prop>
|
|
<D:resourcetype/>
|
|
<D:owner/>
|
|
<CS:getctag/>
|
|
</D:prop>
|
|
</D:propfind>
|
|
ENDDATA
|
|
|
|
REPLACE=!<C1:getctag>"[a-z0-9]+"</C1:getctag>!<C1:getctag>"Looks like a good CTAG to me :-)"</C1:getctag>!
|
|
REPLACE=!^ETag: "[a-z0-9]+"!ETag: "Looks like a good ETAG to me :-)"!
|