method

read_body_stream

read_body_stream()
private

No documentation available.

# File actionpack/lib/action_dispatch/http/request.rb, line 469
      def read_body_stream
        if body_stream
          reset_stream(body_stream) do
            if headers.key?("Transfer-Encoding")
              body_stream.read # Read body stream until EOF if "Transfer-Encoding" is present
            else
              body_stream.read(content_length)
            end
          end
        end
      end