method

headers_for_direct_upload

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: AzureStorageService
headers_for_direct_upload(key, content_type:, checksum:, filename: nil, disposition: nil, **) 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/azure_storage_service.rb, line 104
    def headers_for_direct_upload(key, content_type,, checksum,, filename: nil, disposition: nil, **)
      content_disposition = content_disposition_with(type: disposition, filename: filename) if filename

      { "Content-Type" => content_type, "Content-MD5" => checksum, "x-ms-blob-content-disposition" => content_disposition, "x-ms-blob-type" => "BlockBlob" }
    end
Register or log in to add new notes.