MvcOptions.RespectBrowserAcceptHeader Property


Gets or sets the flag which causes content negotiation to ignore Accept header when it contains the media type /. false by default.

 property bool RespectBrowserAcceptHeader { bool get(); void set(bool value); };
public bool RespectBrowserAcceptHeader { get; set; }
member this.RespectBrowserAcceptHeader : bool with get, set
Public Property RespectBrowserAcceptHeader As Boolean

Property Value

Applies to