method
set_content_length!
rails latest stable - Class:
ActionController::AbstractResponse
set_content_length!()private
Don't set the Content-Length for block-based bodies as that would mean reading it all into memory. Not nice for, say, a 2GB streaming file.