title: ruby rest-client: make it never timeout?
body: <p>I am trying to use ruby <a href="https://github.com/archiloque/rest-client/">rest-client</a> to upload a large number of images to a site that I'm writing. My code looks like: </p>
  
  <pre><code>RestClient.post url, :timeout =&gt; 90000000, :open_timeout =&gt; 90000000, :file_param =&gt; file_obj
  </code></pre>
  
  <p>However, I am getting this error: </p>
  
  <pre><code>RestClient::RequestTimeout: Request Timeout
      from /Library/Ruby/Gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:174:in `transmit'
      from /Library/Ruby/
  </code></pre>
  
  <p>But when I look at the server log</p>
  
  <pre><code>Completed in 61493ms (View: 2, DB: 1) | 201 Created 
  </code></pre>
  
  <p>So there doesn't appear to be any reason why this is timing out. Anyone have any idea if there is a timeout param I am not correctly setting?</p>
  
  <p>Thanks</p>