HttpBaseProtocolFilter.AutomaticDecompression Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.