diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-06-19 00:43:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 00:43:36 -0400 |
commit | e65b4489d11f079be13410f99c820fee88b63e10 (patch) | |
tree | ae35ef193c8c43231a09b7bfe64692bc6353a733 /python/servo/package_commands.py | |
parent | 8e3b4b6fe5c39a746082d1db9d5c44a1c00dc56b (diff) | |
download | servo-e65b4489d11f079be13410f99c820fee88b63e10.tar.gz servo-e65b4489d11f079be13410f99c820fee88b63e10.zip |
Set Content-Type for sha256 uploads.
Diffstat (limited to 'python/servo/package_commands.py')
-rw-r--r-- | python/servo/package_commands.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 1e26bdc74ca..a9e77709cfb 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -651,7 +651,9 @@ class PackageCommands(CommandBase): 'Key': package_upload_key, } s3.copy(copy_source, BUCKET, latest_upload_key) - s3.upload_fileobj(package_hash_fileobj, BUCKET, latest_hash_upload_key) + s3.upload_fileobj( + package_hash_fileobj, BUCKET, latest_hash_upload_key, ExtraArgs={'ContentType': 'text/plain'} + ) def update_maven(directory): (aws_access_key, aws_secret_access_key) = get_s3_secret() |