liormizr/s3path

Is there a way to access/change content-type or meta data before uploading a file?

LeoQuote opened this issue · 0 comments

when using put_object method, I can set Meta and content type using

response = client.put_object(
    Body='filetoupload',
    Bucket='examplebucket',
    Key='objectkey',
    ContentType='string',
    Metadata={
        'string': 'string'
    },
)

It will be useful if I can set content type and metadata before uploading.