class Rack::RewindableInput::Middleware
Makes rack.input rewindable, for compatibility with applications and middleware designed for earlier versions of Rack
(where rack.input was required to be rewindable).
Public Class Methods
Public Instance Methods
Source
# File lib/rack/rewindable_input.rb, line 22 def call(env) env[RACK_INPUT] = RewindableInput.new(env[RACK_INPUT]) @app.call(env) end