Consider moving HEAD handling to present_carrierwave_file helper
The following discussion from !104624 (merged) should be addressed:
-
@igor.drozdov started a discussion: (+4 comments) I wonder if we can do it like: #27892 (comment 1167875413), or do we have some issues with that approach?
[
send_lfs_object
] mostly does the same: https://gitlab.com/gitlab-org/gitlab/blob/b8674cf66ca8ab0ec12fd5a2d9e2cd34d47fbf4e/app/controllers/concerns/sends_blob.rb#L62