class Rack::RewindableInput::Middleware
rewindable).
designed for earlier versions of Rack (where rack.input was required to be
Makes rack.input rewindable, for compatibility with applications and middleware
def call(env)
def call(env) env[RACK_INPUT] = RewindableInput.new(env[RACK_INPUT]) @app.call(env) end
def initialize(app)
def initialize(app) @app = app end