class Net::HTTP::Move
Class for representingWebDAV method MOVE:
require'net/http'uri =URI('http://example.com')hostname =uri.hostname# => "example.com"req =Net::HTTP::Move.new(uri)# => #<Net::HTTP::Move MOVE>res =Net::HTTP.start(hostname)do|http|http.request(req)end
SeeRequest Headers.
Related:
Net::HTTP#move: sendsMOVErequest, returns response object.