From python

from davclient import DAVClient
d = DAVClient('http://localhost:80')
d.set_basic_auth('user', 'pass')

d.response.status

list directory

d.response.status = 207 #multi-response
d.propath(/some/dir/', depth=0) # returns only info about the folder
d.proppath('/some/dir', depth=1) #returns contents of dir


dir.keys() list the files in the directory