HttpBaseProtocolFilter.AutomaticDecompression Property


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

 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


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