method

headers_for_direct_upload

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: DiskService
headers_for_direct_upload(key, content_type:, **) public

No documentation

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

Hide source
# File activestorage/lib/active_storage/service/disk_service.rb, line 97
    def headers_for_direct_upload(key, content_type,, **)
      { "Content-Type" => content_type }
    end
Register or log in to add new notes.