Method: ActiveStorage::Service#headers_for_direct_upload
- Defined in:
- activestorage/lib/active_storage/service.rb
#headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:, custom_metadata: {}) ⇒ Object
Returns a Hash of headers for url_for_direct_upload requests.
143 144 145 |
# File 'activestorage/lib/active_storage/service.rb', line 143 def headers_for_direct_upload(key, filename:, content_type:, content_length:, checksum:, custom_metadata: {}) {} end |