I am trying to use ruby rest-client to upload a large number of images to a site that I\'m writing. My code looks like:
RestClient.post url, :timeout => 9000
The RestClient::Resource.new() allows you to set :timeout and :open_timeout values that will get passed to the Request.execute method, when you use the resource's get, post, put, etc methods