add fix for gzip’ed response when using right_aws