我想从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
当我删除Content-Encoding
元数据时,它可以正常工作。