seancribbs/webmachine-ruby — pull request #163 by Asmod4n (2014-05-04 20:18:53+00:00)
Title: Ruby metaprogramming magic

Some Rack Adapters expose the underlying IO object in their request and response bodies, others don't.
IO.copy_stream for instance looks for .to_io and uses it for its magic.

If there is a nicer way to do it i haven't found it, yet ^^