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 年前檢視次數 84 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南