HttpBaseProtocolFilter.AutomaticDecompression HttpBaseProtocolFilter.AutomaticDecompression HttpBaseProtocolFilter.AutomaticDecompression HttpBaseProtocolFilter.AutomaticDecompression HttpBaseProtocolFilter.AutomaticDecompression Property

Definition

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

public : Platform::Boolean AutomaticDecompression { get; set; }
bool AutomaticDecompression();

void AutomaticDecompression(bool automaticdecompression);
public bool AutomaticDecompression { get; set; }
Public ReadWrite Property AutomaticDecompression As bool
var bool = httpBaseProtocolFilter.automaticDecompression;
httpBaseProtocolFilter.automaticDecompression = bool;

Property Value

bool bool 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.