curl - CalDAV allprop not working as expected -
i using caldav server.
when send following request:
curl --request propfind --user admin:admin --header "depth:0" --header "content-type: text/xml" --data "<d:propfind xmlns:d='dav:'><d:prop><d:allprop/></d:prop></d:propfind>" http://example/calendars/users/admin/calendar/
i response follows:
<?xml version='1.0' encoding='utf-8'?> <multistatus xmlns='dav:'> <response> <href>/calendars/users/admin/calendar/</href> <propstat> <prop> <allprop/> </prop> <status>http/1.1 404 not found</status> </propstat> </response>
if understand correctly, caldav support allprop
looked @ tutorials , examples.
if change allprop
displayname
or acl
, work then.
is allprop
not supported or new equivalent of allprop
?
or request bad?
yes, request wrong.
the request have asking property allprop
.
what want is:
<d:propfind xmlns:d='dav:'><d:allprop/></d:propfind>
refer rfc 2518 section 8.1.2 example - using allprop retrieve properties
Comments
Post a Comment