method

acceptable_content?

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: DiskController
acceptable_content?(token) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/controllers/active_storage/disk_controller.rb, line 60
    def acceptable_content?(token)
      token[:content_type] == request.content_mime_type && token[:content_length] == request.content_length
    end
Register or log in to add new notes.