ResponseCompressionPolicy

class oci.waa.models.ResponseCompressionPolicy(**kwargs)

Bases: object

An object that specifies a compression policy for HTTP response from ENABLEMENT POINT to the client.

This compression policy can be used to enable support for HTTP response compression algorithms like gzip and configure the conditions of when a compression algorithm will be used.

HTTP responses will only be compressed if the client indicates support for one of the enabled compression algorithms via the “Accept-Encoding” request header.

Methods

__init__(**kwargs) Initializes a new ResponseCompressionPolicy object with values from keyword arguments.

Attributes

gzip_compression Gets the gzip_compression of this ResponseCompressionPolicy.
__init__(**kwargs)

Initializes a new ResponseCompressionPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:gzip_compression (oci.waa.models.GzipCompressionPolicy) – The value to assign to the gzip_compression property of this ResponseCompressionPolicy.
gzip_compression

Gets the gzip_compression of this ResponseCompressionPolicy.

Returns:The gzip_compression of this ResponseCompressionPolicy.
Return type:oci.waa.models.GzipCompressionPolicy