diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index bba33bd8e..05823ab46 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -207,6 +207,7 @@ class AttachmentsController < ApplicationController def send_file_with_range(path, options = {}) if File.exist?(path) size = File.size(path) + logger.info("########request.headers: #{request.headers}") if !request.headers["Range"] status_code = 200 # 200 OK offset = 0