Class XContentTypeOptionsHeader
Represents the X-Content-Type-Options HTTP header.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Http.Headers
Assembly: IRM.AspNetCore.Mvc.dll
Syntax
public class XContentTypeOptionsHeader : ISecurityHttpHeader, IHttpHeader
Remarks
For more information about the X-Content-Type-Options HTTP header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
Properties
Name
Gets the name of the HTTP header.
Declaration
public string Name { get; }
Property Value
String
|
Implements
Skip
Gets or sets if the security header should be skiped for a specific request.
Declaration
public bool Skip { get; set; }
Property Value
Boolean
|
Implements
Value
Gets the value of the HTTP header.
Declaration
public StringValues Value { get; }
Property Value
StringValues
|