You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Sutton, Ndele" <Nd...@citadelgroup.com> on 2002/09/03 20:57:42 UTC

question about ls

i have noticed that when i issue an ls request, using the slide client api,
that two PROPFIND requests are sent to the server one with a depth of 0 and
the other with a depth of 1.  what is the rationale for this?  would a
single request with a depth of one suffice?
 
-- ndele sutton

Re: question about ls

Posted by Sung-Gu <je...@apache.org>.
----- Original Message -----
From: "Sutton, Ndele" <Nd...@citadelgroup.com>


> i have noticed that when i issue an ls request, using the slide client
api,
> that two PROPFIND requests are sent to the server one with a depth of 0
and
> the other with a depth of 1.  what is the rationale for this?  would a

The first one is to verify the support of WebDAV as the PROPFIND method
and to cache any related information for the namesapce.

The second one is the real business logic for 'ls'.

> single request with a depth of one suffice?

It's related to issues about utilizing OPTION method and trigerring methods
by direction I guess.

Sung-Gu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>