diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index 05823ab46..6ef43c694 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -205,6 +205,9 @@ class AttachmentsController < ApplicationController end def send_file_with_range(path, options = {}) + logger.info("########request.headers: #{request.headers}") + logger.info("########request.headers: #{File.exist?(path)}") + if File.exist?(path) size = File.size(path) logger.info("########request.headers: #{request.headers}")