aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/lib/active_storage/service/gcs_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/gcs_service.rb b/activestorage/lib/active_storage/service/gcs_service.rb
index 83e9bbb305..369c33cbdb 100644
--- a/activestorage/lib/active_storage/service/gcs_service.rb
+++ b/activestorage/lib/active_storage/service/gcs_service.rb
@@ -104,7 +104,7 @@ module ActiveStorage
end
def headers_for_direct_upload(key, checksum:, **)
- { "Content-Type" => "", "Content-MD5" => checksum }
+ { "Content-MD5" => checksum }
end
private