Amazon S3 - setting content-type while uploading an object is important -
i need know setting content-type s3 object while uploading important or take default content-type automatically? also, practice?
also, want know if set content-type thing else (for ex: application/vnd.openxmlformats-officedocument.wordprocessingml.document) when uploading , specify content-type "application/octet-stream" when downloading, work?
thanks in advance.
it depends on how going use content-type.
as far s3 concerned, doesn't matter.
but if intend transmit file user via browser have right content-type browser can identify file type , act accordingly instead of showing "download file" dialog.
right content type can browser open file proper application either integrated browser(like pdf reader) or stand alone application (like ms word)
Comments
Post a Comment