Share via


ResponseCompressionOptions.EnableForHttps Property

Definition

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.

Applies to