Content-Type: text/html; charset=UTF-8 with Content-Encoding: gzip responses. My workaround for Apache 2.4: SetEnvIf x-amzn-apigateway-api-id .+ no-gzip. (If the request contains the header with any value, don’t gzip the response.)Content-Type: text/html; charset=UTF-8 with Content-Encoding: gzip responses. My workaround for Apache 2.4: SetEnvIf x-amzn-apigateway-api-id .+ no-gzip. (If the request contains the header with any value, don’t gzip the response.)