class Patron::Session
def copy(url, dest, headers = {})
-
(Patron::Response)
-
Parameters:
-
headers
(Hash
) -- the hash of header keys to values -
dest
(String
) -- the URL of the COPY destination -
url
(String
) -- the URL to copy
def copy(url, dest, headers = {}) headers['Destination'] = dest request(:copy, url, headers) end