# File lib/action_controller/request.rb, line 418 def body if raw_post = env['RAW_POST_DATA'] raw_post.force_encoding(Encoding::BINARY) if raw_post.respond_to?(:force_encoding) StringIO.new(raw_post) else body_stream end end