def propstat(options = {})
      response_collector = ResponseCollector.new(@controller, self.request_format)
      # retrieve properties for this resource and all subresources if this is a collection
      if options[:respond_to_block]
        options[:respond_to_block].call(response_collector)
      end

      render do |dav|
        propstat_for response_collector.resource
        propstat_for response_collector.subresources if @depth >= 0
      end
    end
def propstat(options = {})
      response_collector = ResponseCollector.new(@controller, self.request_format)
      # retrieve properties for this resource and all subresources if this is a collection
      if options[:respond_to_block]
        options[:respond_to_block].call(response_collector)
      end

      render do |dav|
        propstat_for response_collector.resource
        propstat_for response_collector.subresources if @depth >= 0
      end
    end
Render a WebDAV multistatus response with a "response" element per resource
 TODO: explain the magic implemented here
 Arguments:
    TODO: describe valid arguments