Retrieving the lockdiscovery property from a non locked resource

Hi all,

if '/a.html' is a resource which is  *not*  locked and the client sends
a ...

<D:propfind xmlns:D="DAV:">

... on that resource, the mod_dav server responds witth a:

 <?xml version="1.0" ...>
    <D:multistatus xmlns:D="DAV:">
                    HTTP/1.1 200 OK
So, mod_dav sends an empty lockdiscovery element.

IIS responds with:
            HTTP/1.1 200 OK

So, IIS sends no lockdiscovery property at all.

In RFC2518; section 8.1 I found the following sentence:

"A request to retrieve the value of a property which does not exist is
an error and MUST be noted, if the response uses a multistatus XML
element, with a response XML element which contains a 404 (Not Found)
status value."

Does this sentence applies only to user-defined properties and not to
DAV build-in properties like the lockdiscovery property?

What is the correct server behaviour?

Best, Hartmut

Received on Thursday, 15 March 2001 05:13:32 UTC