API Gateway S3 Integration strip request header

0

I have an api gateway configured to hit S3. I'm trying to strip off the "accept" header to avoid unnecessary content encoding from S3 but I'm not able to do that. If I attempt to modify the headers, I'm getting a SignatureDoesNotMatch error from S3.