class Patron::Session

def copy(url, dest, headers = {})

Returns:
  • (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