16 references to Custom
System.Net.Http (16)
System\Net\Http\Headers\HeaderDescriptor.cs (2)
37
public HttpHeaderType HeaderType => _descriptor is KnownHeader knownHeader ? knownHeader.HeaderType : HttpHeaderType.
Custom
;
128
Debug.Assert(HeaderType != HttpHeaderType.
Custom
);
System\Net\Http\Headers\HttpContentHeaders.cs (1)
110
: base(HttpHeaderType.Content | HttpHeaderType.
Custom
, HttpHeaderType.None)
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
269
: base(HttpHeaderType.General | HttpHeaderType.Request | HttpHeaderType.
Custom
, HttpHeaderType.Response)
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
137
: base(containsTrailingHeaders ? HttpHeaderType.All ^ HttpHeaderType.Request : HttpHeaderType.General | HttpHeaderType.Response | HttpHeaderType.
Custom
,
System\Net\Http\Headers\KnownHeader.cs (1)
12
this(name, HttpHeaderType.
Custom
, parser: null, knownValues: null, http2StaticTableIndex, http3StaticTableIndex)
System\Net\Http\Headers\KnownHeaders.cs (10)
44
public static readonly KnownHeader Cookie = new KnownHeader("Cookie", HttpHeaderType.
Custom
, CookieHeaderParser.Parser, null, H2StaticTable.Cookie, H3StaticTable.Cookie);
52
public static readonly KnownHeader GrpcEncoding = new KnownHeader("grpc-encoding", HttpHeaderType.
Custom
, null, new string[] { "identity", "gzip", "deflate" });
54
public static readonly KnownHeader GrpcStatus = new KnownHeader("grpc-status", HttpHeaderType.
Custom
, null, new string[] { "0" });
76
public static readonly KnownHeader ReferrerPolicy = new KnownHeader("Referrer-Policy", HttpHeaderType.
Custom
, null, new string[] { "strict-origin-when-cross-origin", "origin-when-cross-origin", "strict-origin", "origin", "same-origin", "no-referrer-when-downgrade", "no-referrer", "unsafe-url" });
86
public static readonly KnownHeader SetCookie = new KnownHeader("Set-Cookie", HttpHeaderType.
Custom
| HttpHeaderType.NonTrailing, null, null, H2StaticTable.SetCookie, H3StaticTable.SetCookie);
87
public static readonly KnownHeader SetCookie2 = new KnownHeader("Set-Cookie2", HttpHeaderType.
Custom
| HttpHeaderType.NonTrailing, null, null);
94
public static readonly KnownHeader UpgradeInsecureRequests = new KnownHeader("Upgrade-Insecure-Requests", HttpHeaderType.
Custom
, null, new string[] { "1" }, http3StaticTableIndex: H3StaticTable.UpgradeInsecureRequests1);
103
public static readonly KnownHeader XContentTypeOptions = new KnownHeader("X-Content-Type-Options", HttpHeaderType.
Custom
, null, new string[] { "nosniff" }, http3StaticTableIndex: H3StaticTable.XContentTypeOptionsNoSniff);
104
public static readonly KnownHeader XFrameOptions = new KnownHeader("X-Frame-Options", HttpHeaderType.
Custom
, null, new string[] { "DENY", "SAMEORIGIN" }, http3StaticTableIndex: H3StaticTable.XFrameOptionsDeny);
109
public static readonly KnownHeader XXssProtection = new KnownHeader("X-XSS-Protection", HttpHeaderType.
Custom
, null, new string[] { "0", "1", "1; mode=block" });