Method: Net::HTTP#copy

Defined in:
lib/net/http.rb

#copy(path, initheader = nil) ⇒ Object

Sends a COPY request to the path and gets a response, as an HTTPResponse object.



1380
1381
1382
# File 'lib/net/http.rb', line 1380

def copy(path, initheader = nil)
  request(Copy.new(path, initheader))
end