From: Chris Markle Date: 2009-02-26T00:34:00+09:00 Subject: Re: Feeding data to be PUT with Net::HTTP? Brian, > [...] Looking at send_request_with_body_stream, you can pass any object > which responds to read(n), such as an open IO stream. If you set > "Tranfer-Encoding: chunked" then you'll get it posted in chunks too, > which simplifies buffering at the receiving side (if it also supports > chunking). But it looks like you may need to create your Request object > by hand and call #body_stream=, because set_body_internal doesn't > understand about streaming objects. [...] Thank you very much for such a detailed answer, and for including some code snippets. I was able to stream using this suggestion. And your comments about "you can pass any object that responds to read(n)" gives me other food for thought about this. Thanks again... Chris -- Posted via http://www.ruby-forum.com/.