11 references to General
System.Net.Http (11)
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\KnownHeaders.cs (9)
34
public static readonly KnownHeader CacheControl = new("Cache-Control", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, CacheControlHeaderParser.Parser, ["must-revalidate", "no-cache", "no-store", "no-transform", "private", "proxy-revalidate", "public"], H2StaticTable.CacheControl, H3StaticTable.CacheControlMaxAge0);
35
public static readonly KnownHeader Connection = new("Connection", HttpHeaderType.
General
, GenericHeaderParser.TokenListParser, ["keep-alive", "close", "Upgrade", "Transfer-Encoding"]);
48
public static readonly KnownHeader Date = new("Date", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, DateHeaderParser.Parser, null, H2StaticTable.Date, H3StaticTable.Date);
70
public static readonly KnownHeader Pragma = new("Pragma", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, GenericHeaderParser.MultipleValueNameValueParser, ["no-cache"]);
93
public static readonly KnownHeader Trailer = new("Trailer", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, GenericHeaderParser.TokenListParser);
94
public static readonly KnownHeader TransferEncoding = new("Transfer-Encoding", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, TransferCodingHeaderParser.MultipleValueParser, ["chunked", "compress", "deflate", "gzip", "identity"], H2StaticTable.TransferEncoding);
96
public static readonly KnownHeader Upgrade = new("Upgrade", HttpHeaderType.
General
, GenericHeaderParser.MultipleValueProductParser);
100
public static readonly KnownHeader Via = new("Via", HttpHeaderType.
General
, GenericHeaderParser.MultipleValueViaParser, null, H2StaticTable.Via);
102
public static readonly KnownHeader Warning = new("Warning", HttpHeaderType.
General
| HttpHeaderType.NonTrailing, GenericHeaderParser.MultipleValueWarningParser);