HttpBaseProtocolFilter.AutomaticDecompression Property

Definition

Gets or sets a value that indicates whether the HttpBaseProtocolFilter can automatically decompress the HTTP content response.

public:
 property bool AutomaticDecompression { bool get(); void set(bool value); };
bool AutomaticDecompression();

void AutomaticDecompression(bool value);
public bool AutomaticDecompression { get; set; }
var boolean = httpBaseProtocolFilter.automaticDecompression;
httpBaseProtocolFilter.automaticDecompression = boolean;
Public Property AutomaticDecompression As Boolean

Property Value

Boolean

bool

A value that indicates whether HttpBaseProtocolFilter can automatically decompress the HTTP content response.

This value is true if the if HttpBaseProtocolFilter can automatically decompress the HTTP content response; otherwise false. The default value is true.

Remarks

When this property is set to true, the Accept-Encoding header is added to the headers and set to allow gzip and compress.

Applies to