`` Setting this option togzipdisables automatic decompression. This can be useful for applications wanting to operate with the compressed data. Setting this option toidentity`, or not setting this option, returns decompressed data.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `AcceptEncoding` structure within the Google Cloud Storage C++ client library, covering versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `AcceptEncoding` structure controls whether Google Cloud Storage should decompress gzip-encoded objects when using HTTP, with decompression being the default behavior."],["Setting `AcceptEncoding` to `gzip` disables automatic decompression, useful when an application needs to directly handle compressed data."],["Decompression only applies to objects specifically encoded with `gzip` and having the `content_encoding()` attribute set, as GCS does not currently support automatic compression detection."],["The helper function [`AcceptEncodingGzip()`](/cpp/docs/reference/storage/2.20.0/namespacegoogle_1_1cloud_1_1storage) can be used to easily set the option to disable decompressive encoding."]]],[]]