aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-06-19 00:42:39 -0400
committerGitHub <noreply@github.com>2020-06-19 00:42:39 -0400
commit3480549bbaf2708fde893b45b22887c4fe6a689a (patch)
tree94037495b510c612dafe0c6e765b996917ed63d2
parent8e3b4b6fe5c39a746082d1db9d5c44a1c00dc56b (diff)
downloadservo-jdm-patch-45.tar.gz
servo-jdm-patch-45.zip
Set Content-Type for sha256 file uploads.jdm-patch-45
-rw-r--r--python/servo/package_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py
index 1e26bdc74ca..1caa20fef3f 100644
--- a/python/servo/package_commands.py
+++ b/python/servo/package_commands.py
@@ -644,7 +644,7 @@ class PackageCommands(CommandBase):
package_hash_fileobj = io.BytesIO(package_hash)
latest_hash_upload_key = '{}/servo-latest.{}.sha256'.format(nightly_dir, extension)
- s3.upload_file(package, BUCKET, package_upload_key)
+ s3.upload_file(package, BUCKET, package_upload_key, ExtraArgs={'ContentType': 'text/plain'})
copy_source = {
'Bucket': BUCKET,