code: function propfind(options) {
    var requestData = template.propfind({ props: options.props });
  
    function transformRequest(xhr) {
      setRequestHeaders(xhr, options);
    }
  
    function transformResponse(xhr) {
      var responses = (0, _parser.multistatus)(xhr.responseText).response.map(function (res) {
        return { href: res.href, props: getProps(res.propstat) };
      });
  
      if (!options.mergeResponses) {
        return responses;
      }
  
      // Merge the props.
      var merged = mergeProps(responses.map(function (res) {
        return res.props;
      }));
      var hrefs = responses.map(function (res) {
        return res.href;
      });
      return { props: merged, hrefs: hrefs };
    }
  
    return new Request({
      method: 'PROPFIND',
      requestData: requestData,
      transformRequest: transformRequest,
      transformResponse: transformResponse
    });
  }
docs: Options:
  
  (String) depth - optional value for Depth header.
  (Array.<Object>) props - list of props to request.