class Gem::Net::HTTP::Move

Class for representing WebDAV method MOVE:

require 'rubygems/vendor/net-http/lib/net/http'
uri = Gem::URI('http://example.com')
hostname = uri.hostname # => "example.com"
req = Gem::Net::HTTP::Move.new(uri) # => #<Gem::Net::HTTP::Move MOVE>
res = Gem::Net::HTTP.start(hostname) do |http|
  http.request(req)
end

See Request Headers.

Related:

Constants

METHOD
REQUEST_HAS_BODY
RESPONSE_HAS_BODY