eventmachine: "rack.multithread" is always true when deferring
[rainbows.git] / lib / rainbows / tee_input.rb
blobd405a5cd288c585deb54e1eb063fbe98483d8c63
1 module Rainbows
3   # acts like tee(1) on an input input to provide a input-like stream
4   # while providing rewindable semantics through a File/StringIO
5   # backing store.  On the first pass, the input is only read on demand
6   # so your Rack application can use input notification (upload progress
7   # and like).  This should fully conform to the Rack::InputWrapper
8   # specification on the public API.  This class is intended to be a
9   # strict interpretation of Rack::InputWrapper functionality and will
10   # not support any deviations from it.
11   class TeeInput < Unicorn::TeeInput
13     # empty class, this is to avoid unecessarily modifying Unicorn::TeeInput
14     # when MaxBody::Limit is included
15   end
16 end