# File lib/action_controller/response.rb, line 127 def sending_file? headers["Content-Transfer-Encoding"] == "binary" end