def put(url, doc = nil, options = {})
      connection(url, options) do |uri, conn|
        conn.put(uri.request_uri, doc, options)
      end
    end
def put(url, doc = nil, options = {})
      connection(url, options) do |uri, conn|
        conn.put(uri.request_uri, doc, options)
      end
    end
Send a PUT request.