Sandro Paganotti wrote:
> I've compressed your loop into this:
> 
> (headers.select{ |h| h[:name] == 'content-length' }.first)[:value]

That seems pretty typical of ruby programmers: cram everything into one 
line and call it "clear".
-- 
Posted via http://www.ruby-forum.com/.