Meaning of Depth header in WebDAV PROPFIND method -
i writing in php create virtual file system using webdav.
i trying head around propfind request method. rfc 4918 mentions it, i’m not sure understand. can clarify this:
- what role of depth value (0, 1, infinity)? has folders vs files?
- why client make multiple
propfindrequests on folder?
i think might me sort out of rest.
thanks
what role of depth value (0, 1, infinity)? has folders vs files?
for directories:
- depth 0: retrieve properties of directory
- depth 1: 0 + properties of files in directory
- depth infinity: 1 + properties of files in sub-directories of directory (recursively)
for files has no effect.
the depth applies other webdav methods.
Comments
Post a Comment