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 propfind requests 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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -