DecompressResponseOptions

Structin fsthttpcompute-sdk-go v1.11.0View source
type DecompressResponseOptions struct {
Gzip bool
}

DecompressResponseOptions control the auto decompress response behaviour.

Fields

Gzip

bool

Gzip controls whether a gzip-encoded response to the request will be automatically decompressed.

If the response to the request is gzip-encoded, it will be presented in decompressed form, and the Content-Encoding and Content-Length headers will be removed.