> I'm not sure I understand EventMachine, but it doesn't seem like this
> code fits with the "event loop" model. Besides, I don't want to react to
> every chunk of data that comes it; I just want the result at the end.

It might fit well. Give it a shot.

http://eventmachine.rubyforge.org/EventMachine/Protocols/HttpClient.html

-rp
-- 
Posted via http://www.ruby-forum.com/.