amazon web services - Change content-type in S3 bucket policy for a specific file extension -


currently when place property list file (plist extension) s3 bucket, sets content-type application/octet-stream reason. causes issues when download in objective-c (ios).

how can change bucket policy automatically sets content-type text/plain

you cannot. default content-type "application/octet-stream".

please find below aws documentation same http://docs.aws.amazon.com/amazons3/latest/api/restobjectput.html

the option have setting content-type @ time of upload or updating once upload complete.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -