net_http_ext.rb

Path: lib/restclient/net_http_ext.rb
Last Update: Mon Aug 13 19:47:31 +0000 2012

Replace the request method in Net::HTTP to sniff the body type and set the stream if appropriate

Taken from: www.missiondata.com/blog/ruby/29/streaming-data-to-s3-with-ruby/

[Validate]