dev_video
daiao 5 years ago
parent d9de5c266c
commit e611a9403c

@ -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

Loading…
Cancel
Save