def put(path, stream, length)
      path = @uri.merge(path).path
      res = @handler.request_sending_stream(:put, path, stream, length, @headers)
      res.body
    end
def put(path, stream, length)
      path = @uri.merge(path).path
      res = @handler.request_sending_stream(:put, path, stream, length, @headers)
      res.body
    end
Stores the content of a stream to a URL

 Example:
 File.open(file, "r") do |stream|
   dav.put(url.path, stream, File.size(file))
 end