def response(options = {})
      elements = options.slice(:error)

      render do
        response_for options[:href] do |dav|
          elements.each do |name, value|
            status_for options[:status]
            dav.__send__ name, value
          end
        end
      end
    end
def response(options = {})
      elements = options.slice(:error)

      render do
        response_for options[:href] do |dav|
          elements.each do |name, value|
            status_for options[:status]
            dav.__send__ name, value
          end
        end
      end
    end
Render a WebDAV multistatus response with a single "response" element.
 This is primarily intended vor responding to single resource errors.

 Arguments:
   options:
     - href: the requested resource URL, usually request.url
     - status: the response status, something like :unprocessable_entity or 204.
     - error: an Error description, if any.