ResponseCompressionOptions.EnableForHttps Property


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.

 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


This can be overridden per request using IHttpsCompressionFeature.

Applies to