Table of Contents

Property OverrideHeaders

Namespace: Sisk.Core.Http
Assembly: Sisk.Core.dll

OverrideHeaders

Gets or sets an HttpHeaderCollection indicating HTTP headers which will overwrite headers set by CORS, router response or request handlers.

public HttpHeaderCollection OverrideHeaders { get; set; }

Property Value

HttpHeaderCollection

Remarks

This property replaces existing headers in the final response. Use ExtraHeaders to add headers without replacing existing ones.