S3 gzipped content automatically unzipped when downloading with a client software

0

Hi, we have quite a large amount of files stored to S3 and have used it without any problems. Files have Content-Encoding gzip, Content-Type application/octet-stream. What has now changed is that when accessing files using S3 URL with (for example) an HTTP tool most of the files are fine but some are served unzipped, having no Content-Encoding in the header. Data in S3 has not changed, earlier these same files were downloaded fine. This problem seems to happen only when using HTTP, HTTPS is fine. Unfortunately we have an older application using HTTP that now fails. Any ideas what is going on and how to prevent this?

  • Additional information about the problem: this only seems to occur with files that have executable code in them

已提问 2 年前83 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则