Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

inferiorhumanorgans
Copy link

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

@devrandom
Copy link
Owner

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants