support Gzip and NoCompress