Net::Dav 是一个 Ruby 的 WebDAV 开发包,风格类似 Net::HTTP,示例代码:
Net::DAV.start("https://localhost.localdomain/xyz/") { |dav| find('.', :recursive => true) do | item | item.content = item.content.gsub(/silly/i, "funny") end end