net_dav icon indicating copy to clipboard operation
net_dav copied to clipboard

propfind: Allow user to specify depth, default to depth of 1.

Open inferiorhumanorgans opened this issue 12 years ago • 1 comments

This'll allow users to specify an arbitrary propfind depth, as well as make it easier for users to override other headers in the future. Possible modifications include:

  • validating the depth value (int or string of 'infinity')
  • have the options merely insert values into the headers hash by default

inferiorhumanorgans avatar Mar 26 '12 19:03 inferiorhumanorgans

The patch loses the feature of specifying :acl for the body if the option hash is specified.

Perhaps make the body argument explicit and separate out the handling of :acl into its own if statement?

devrandom avatar Apr 07 '12 03:04 devrandom