KestrelServerOptions.AllowResponseHeaderCompression Property

Definition

Gets or sets a value that controls whether dynamic compression of response headers is allowed. For more information about the security considerations of HPack dynamic header compression, visit https://tools.ietf.org/html/rfc7541#section-7.

C#
public bool AllowResponseHeaderCompression { get; set; }

Property Value

Remarks

Defaults to true.

Applies to

Product Versions
ASP.NET Core 5.0, 6.0, 7.0, 8.0, 9.0