StaticFileOptions.HttpsCompression 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 files should be compressed for HTTPS requests when the Response Compression middleware is available. The default value is Compress.
public:
property Microsoft::AspNetCore::Http::Features::HttpsCompressionMode HttpsCompression { Microsoft::AspNetCore::Http::Features::HttpsCompressionMode get(); void set(Microsoft::AspNetCore::Http::Features::HttpsCompressionMode value); };
public Microsoft.AspNetCore.Http.Features.HttpsCompressionMode HttpsCompression { get; set; }
member this.HttpsCompression : Microsoft.AspNetCore.Http.Features.HttpsCompressionMode with get, set
Public Property HttpsCompression As HttpsCompressionMode
Property Value
Remarks
Enabling compression on HTTPS requests for remotely manipulable content may expose security problems.