@bascule How so? Looks like you can just iterate multiple times, it doesn't pretend to be an IO.
@seancribbs oh god, I just noticed LazyRequestBody has the same "rewindable input" semantics as Rack: https://github.com/seancribbs/webmachine-ruby/blob/master/lib/webmachine/adapters/lazy_request_body.rb#L23 …
-
-
-
@seancribbs let's imagine I'm streaming gigabytes of data. It all gets buffered in@value :( This is why file uploads + Rack sucked -
@bascule Yes, good point. One limitation of the Erlang version is that you can't get the entire body AND stream. ¯\_(ツ)_/¯ -
@seancribbs seems good... I want to stream the body. The entire body as a giant string is less useful on multigigabyte files ;) -
@bascule True. I think the reason it buffers it is the content-md5 validation, which is broken anyway. -
@seancribbs yeah, definitely no need to buffer for that
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.