Amazon S3对象的Content-Encoding元数据导致错误

时间:2018-02-28 06:31:50

标签: amazon-web-services amazon-s3

我想从Amazon S3提供压缩图像。当我为特定的S3对象设置Content-Encoding:gzip时,我在Google Chrome中遇到了以下错误。

This site can’t be reached
The web page at http://bucket-name.amazonaws.com/E872EA6505/images/1519795859_edition_3_buy_1_large.jpg might be temporarily down or it may have moved permanently to a new web address.
ERR_CONTENT_DECODING_FAILED

enter image description here

当我删除Content-Encoding元数据时,它可以正常工作。

0 个答案:

没有答案