We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 230393e + 9207956 commit 45557c9Copy full SHA for 45557c9
aws/aws.py
@@ -61,4 +61,4 @@ def load_file(bucket: Bucket, key: str, local_path: str):
61
62
63
def store_file(bucket: Bucket, key: str, local_path: str):
64
- bucket.upload_file(local_path, key)
+ bucket.upload_file(local_path, key, ExtraArgs={'ContentType': 'application/pdf'})
0 commit comments