instance method
headers_for_direct_upload
Ruby on Rails 6.0.6
Since v5.2.8.1 Last seen in v8.0.4Signature
headers_for_direct_upload(key, content_type:, checksum:, **)
No documentation comment.
Parameters
-
keyreq -
content_typekeyreq -
checksumkeyreq -
kwargskeyrest
Source
# File activestorage/lib/active_storage/service/azure_storage_service.rb, line 117
def headers_for_direct_upload(key, content_type:, checksum:, **)
{ "Content-Type" => content_type, "Content-MD5" => checksum, "x-ms-blob-type" => "BlockBlob" }
end
Defined in activestorage/lib/active_storage/service/azure_storage_service.rb line 117
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service::AzureStorageService