Publicize the CGI’s internal input stream so we can lazy-read request.body. Make it writable so we don’t have to play $stdin games.
# File lib/action_controller/cgi_ext/stdinput.rb, line 17 def initialize_with_stdinput(type = nil, stdinput = $stdin) @stdinput = stdinput @stdinput.set_encoding(Encoding::BINARY) if @stdinput.respond_to?(:set_encoding) initialize_without_stdinput(type || 'query') end
Generated with the Darkfish Rdoc Generator 2.