class Patron::Session

def put(url, data, headers = {})

must be a string.
Uploads the passed +data+ to the specified +url+ using HTTP PUT. +data+
def put(url, data, headers = {})
  request(:put, url, headers, :data => data)
end