RE: refresh LOCK for multiple locks

On Wed, 24 Nov 1999 ccjason@us.ibm.com wrote:
>...
> > So do we need to define server behavior if more than one lock is
> specified
> > in the If header?
> 
> > fyi: mod_dav refreshes all of them.
> 
> Interesting.  And what type of body do you use for success?  Do you only
> support
> it if the locks are on the same resource?
> 
> And how do you respond if some of the refreshes failed?

We return a DAV:lockdiscovery element (as defined) which contains multiple
DAV:activelock elements (as defined).

We refresh any locks that are extent on that resource and that we find in
the If: header. In other words, we'll refresh direct locks and those
inherited from Depth:infinity locks further up in the namespace.

On error, we return a single status code (not a multistatus). That's
because a refresh is not being applied to multiple resources -- just
multiple locks on *one* resource.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Received on Wednesday, 24 November 1999 17:35:58 UTC