9 references to Custom
System.Net.Http (9)
System\Net\Http\Headers\HeaderDescriptor.cs (2)
39
public HttpHeaderType HeaderType => _descriptor is KnownHeader knownHeader ? knownHeader.HeaderType : HttpHeaderType.
Custom
;
130
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, http2StaticTableIndex, http3StaticTableIndex)
System\Net\Http\Headers\KnownHeaders.cs (3)
45
public static readonly KnownHeader Cookie = new("Cookie", HttpHeaderType.
Custom
, CookieHeaderParser.Parser, null, H2StaticTable.Cookie, H3StaticTable.Cookie);
88
public static readonly KnownHeader SetCookie = new("Set-Cookie", HttpHeaderType.
Custom
| HttpHeaderType.NonTrailing, null, null, H2StaticTable.SetCookie, H3StaticTable.SetCookie);
89
public static readonly KnownHeader SetCookie2 = new("Set-Cookie2", HttpHeaderType.
Custom
| HttpHeaderType.NonTrailing, null);