instance method
headers_for_direct_upload
Ruby on Rails 6.0.6
Since v5.2.8.1Signature
headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:)
Returns a Hash of headers for url_for_direct_upload requests.
Parameters
-
keyreq -
filenamekeyreq -
content_typekeyreq -
content_lengthkeyreq -
checksumkeyreq
Source
# File activestorage/lib/active_storage/service.rb, line 121
def headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:)
{}
end
Defined in activestorage/lib/active_storage/service.rb line 121
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Service