ResponseCompressionOptions.EnableForHttps 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.
Indicates if responses over HTTPS connections should be compressed. The default is 'false'. Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.
public:
property bool EnableForHttps { bool get(); void set(bool value); };
public bool EnableForHttps { get; set; }
member this.EnableForHttps : bool with get, set
Public Property EnableForHttps As Boolean
Property Value
Remarks
This can be overridden per request using IHttpsCompressionFeature.