[Cosmo-dev] need help with simple webdav property query
grant at osafoundation.org
Wed Jun 21 21:55:53 PDT 2006
On 21 Jun, 2006, at 21:13, George Williams wrote:
> I know I'm being a bonehead, but can someone help with a webdav
> query I am making against the recently upgraded server?
> I am performing a webdav PROPFIND query against a calendar
> collection resource. Here is the body of my request:
> <?xml version=\"1.0\" encoding=\"utf-8\"?><propfind xmlns:D=\"DAV:
> \"> <prop><D:resourcetype /></prop></propfind>
> Currently, I am getting a 501 (not implemented) error.
> Thanx in advance for any insights you can provide.
Well, I'm not sure exactly what the 501 means, but the xml doesn't
look quite right:
1) I don't know if those \ characters were just an artifact of how
you copy & pasted the body, but I don't think they should be there
2) The prop & propfind elements have the same XML namespace as
So, you want something more like:
<?xml version="1.0" encoding="utf-8"?><D:propfind xmlns:D="DAV:">
or (specifying a default xml namespace of DAV:)
<?xml version="1.0" encoding="utf-8"?><propfind xmlns:="DAV:">
More information about the cosmo-dev