method
headers_for_direct_upload
v6.0.0 -
Show latest stable
- Class:
ActiveStorage::Service::S3Service
headers_for_direct_upload(key, content_type:, checksum:, **)public
No documentation available.
# File activestorage/lib/active_storage/service/s3_service.rb, line 92
def headers_for_direct_upload(key, content_type,, checksum,, **)
{ "Content-Type" => content_type, "Content-MD5" => checksum }
end