class ActiveStorage::DiskController
def acceptable_content?(token)
def acceptable_content?(token) token[:content_type] == request.content_mime_type && token[:content_length] == request.content_length end
def acceptable_content?(token) token[:content_type] == request.content_mime_type && token[:content_length] == request.content_length end