1 # -*- encoding: binary -*-
4 # acts like tee(1) on an input input to provide a input-like stream
5 # while providing rewindable semantics through a File/StringIO
6 # backing store. On the first pass, the input is only read on demand
7 # so your Rack application can use input notification (upload progress
8 # and like). This should fully conform to the Rack::InputWrapper
9 # specification on the public API. This class is intended to be a
10 # strict interpretation of Rack::InputWrapper functionality and will
11 # not support any deviations from it.
12 class TeeInput < Unicorn::TeeInput
14 # empty class, this is to avoid unecessarily modifying Unicorn::TeeInput
15 # when MaxBody::Limit is included