Sha256: e1fe2b0d6ba4b0841c719b99179b1d6bf222cc395bde95fdafc943ab30444238

Contents?: true

Size: 735 Bytes

Versions: 3

Compression:

Stored size: 735 Bytes

Contents

# -*- encoding: binary -*-
module Rainbows

  # acts like tee(1) on an input input to provide a input-like stream
  # while providing rewindable semantics through a File/StringIO
  # backing store.  On the first pass, the input is only read on demand
  # so your Rack application can use input notification (upload progress
  # and like).  This should fully conform to the Rack::InputWrapper
  # specification on the public API.  This class is intended to be a
  # strict interpretation of Rack::InputWrapper functionality and will
  # not support any deviations from it.
  class TeeInput < Unicorn::TeeInput

    # empty class, this is to avoid unecessarily modifying Unicorn::TeeInput
    # when MaxBody::Limit is included
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rainbows-0.94.0 lib/rainbows/tee_input.rb
rainbows-0.93.0 lib/rainbows/tee_input.rb
rainbows-0.92.0 lib/rainbows/tee_input.rb