GzipCompressionPolicy¶
- class oci.waa.models.GzipCompressionPolicy(**kwargs)¶
Bases:
objectAn object that specifies the gzip compression policy.
Methods:
__init__(**kwargs)Initializes a new GzipCompressionPolicy object with values from keyword arguments.
Attributes:
Gets the is_enabled of this GzipCompressionPolicy.
- __init__(**kwargs)¶
Initializes a new GzipCompressionPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_enabled (bool) – The value to assign to the is_enabled property of this GzipCompressionPolicy.
- property is_enabled¶
Gets the is_enabled of this GzipCompressionPolicy. When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the “Accept-Encoding: gzip” request header.
When false, support for gzip compression is disabled and HTTP responses will not be compressed with gzip even if the client indicates support for gzip.
- Returns
The is_enabled of this GzipCompressionPolicy.
- Return type
bool