Propfind, in sardine, is fixed to a depth of 1. However, if you have a
collection X containing hundreds of files, you don't want to fille your memory
with hundreds of DAVResource and wait two minute to download a 50M response
when all you needed was to get the custom properties of X, or get it's content
length. On the opposite, you might want to get a full collection hierarchy
deeper than 1.
Attached is a patch + unit test to choose depth when calling list(). New method
is list(url,depth), old methode list(url) still default to 1.
Original issue reported on code.google.com by tch...@gmail.com on 18 Nov 2011 at 11:18
Original issue reported on code.google.com by
tch...@gmail.com
on 18 Nov 2011 at 11:18Attachments: