3986 references to HeaderNames
Aspire.Dashboard.Tests (1)
CodeGenerator (127)
src\Servers\Kestrel\shared\KnownHeaders.cs (127)
24HeaderNames.Allow,
25HeaderNames.AltSvc,
26HeaderNames.TransferEncoding,
27HeaderNames.ContentLength,
28HeaderNames.Connection,
34HeaderNames.Host,
37public static readonly string[] DefinedHeaderNames = typeof(HeaderNames)
46HeaderNames.DNT,
94HeaderNames.Accept,
95HeaderNames.Connection,
96HeaderNames.Host,
97HeaderNames.UserAgent
101HeaderNames.Connection,
102HeaderNames.Date,
103HeaderNames.ContentType,
104HeaderNames.Server,
105HeaderNames.ContentLength,
109HeaderNames.CacheControl,
110HeaderNames.Connection,
111HeaderNames.Date,
112HeaderNames.GrpcEncoding,
113HeaderNames.KeepAlive,
114HeaderNames.Pragma,
115HeaderNames.TransferEncoding,
116HeaderNames.Upgrade,
117HeaderNames.Via,
118HeaderNames.Warning,
119HeaderNames.ContentType,
124HeaderNames.Origin,
125HeaderNames.AccessControlRequestMethod,
126HeaderNames.AccessControlRequestHeaders,
130HeaderNames.Cookie,
131HeaderNames.Connection,
132HeaderNames.TransferEncoding,
136HeaderNames.Host
144HeaderNames.Accept,
145HeaderNames.AcceptCharset,
146HeaderNames.AcceptEncoding,
147HeaderNames.AcceptLanguage,
149HeaderNames.Authorization,
150HeaderNames.Cookie,
151HeaderNames.Expect,
152HeaderNames.From,
153HeaderNames.GrpcAcceptEncoding,
154HeaderNames.GrpcTimeout,
155HeaderNames.Host,
156HeaderNames.IfMatch,
157HeaderNames.IfModifiedSince,
158HeaderNames.IfNoneMatch,
159HeaderNames.IfRange,
160HeaderNames.IfUnmodifiedSince,
161HeaderNames.MaxForwards,
163HeaderNames.ProxyAuthorization,
164HeaderNames.Referer,
165HeaderNames.Range,
166HeaderNames.TE,
167HeaderNames.Translate,
168HeaderNames.UserAgent,
169HeaderNames.UpgradeInsecureRequests,
170HeaderNames.RequestId,
171HeaderNames.CorrelationContext,
172HeaderNames.TraceParent,
173HeaderNames.TraceState,
174HeaderNames.Baggage,
191Name = HeaderNames.ContentLength,
193PrimaryHeader = requestPrimaryHeaders.Contains(HeaderNames.ContentLength)
199HeaderNames.Connection,
200HeaderNames.Server,
201HeaderNames.Date,
202HeaderNames.TransferEncoding,
203HeaderNames.AltSvc
207HeaderNames.Connection,
208HeaderNames.Server,
209HeaderNames.Date,
210HeaderNames.TransferEncoding,
211HeaderNames.AltSvc
216HeaderNames.AccessControlAllowCredentials,
217HeaderNames.AccessControlAllowHeaders,
218HeaderNames.AccessControlAllowMethods,
219HeaderNames.AccessControlAllowOrigin,
220HeaderNames.AccessControlExposeHeaders,
221HeaderNames.AccessControlMaxAge,
225HeaderNames.AcceptRanges,
226HeaderNames.Age,
227HeaderNames.Allow,
228HeaderNames.AltSvc,
229HeaderNames.ETag,
230HeaderNames.Location,
231HeaderNames.ProxyAuthenticate,
232HeaderNames.ProxyConnection,
233HeaderNames.RetryAfter,
234HeaderNames.Server,
235HeaderNames.SetCookie,
236HeaderNames.Vary,
237HeaderNames.Expires,
238HeaderNames.WWWAuthenticate,
239HeaderNames.ContentRange,
240HeaderNames.ContentEncoding,
241HeaderNames.ContentLanguage,
242HeaderNames.ContentLocation,
243HeaderNames.ContentMD5,
244HeaderNames.LastModified,
245HeaderNames.Trailer,
262Name = HeaderNames.ContentLength,
264EnhancedSetter = enhancedHeaders.Contains(HeaderNames.ContentLength),
265PrimaryHeader = responsePrimaryHeaders.Contains(HeaderNames.ContentLength)
271HeaderNames.ETag,
272HeaderNames.GrpcMessage,
273HeaderNames.GrpcStatus
290HeaderNames.Connection,
291HeaderNames.TransferEncoding,
292HeaderNames.KeepAlive,
293HeaderNames.Upgrade,
294HeaderNames.ProxyConnection
378if (header.Name == HeaderNames.ContentLength)
420if (header.Name == HeaderNames.ContentLength)
869public {(header.Name == HeaderNames.Connection ? "override " : "")}StringValues Header{header.Identifier}
870{{{(header.Name == HeaderNames.ContentLength ? $@"
906{Each(loop.Headers.Where(header => header.Name != HeaderNames.ContentLength && !NonApiHeaders.Contains(header.Identifier)), header => $@"
976{{{(header.Name == HeaderNames.ContentLength ? @"
992{{{(header.Name == HeaderNames.ContentLength ? @"
1021{{{(header.Name == HeaderNames.ContentLength ? $@"
1030{{{(header.Name == HeaderNames.ContentLength ? $@"
1052{{{(header.Name == HeaderNames.ContentLength ? $@"
1070{{{(header.Name == HeaderNames.ContentLength ? $@"
1100{{{(header.Name == HeaderNames.ContentLength ? @"
1118{{{(header.Name == HeaderNames.ContentLength ? @"
IIS.FunctionalTests (9)
IISExpress.FunctionalTests (2)
InMemory.FunctionalTests (185)
Http2\Http2ConnectionTests.cs (13)
175new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
227new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
321new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
2390Assert.Equal("SetCookie!", handler.Headers[HeaderNames.SetCookie]);
2391Assert.Equal("ContentDisposition!", handler.Headers[HeaderNames.ContentDisposition]);
2392Assert.Equal("0", handler.Headers[HeaderNames.ContentLength]);
2407Assert.Equal("SetCookie!", handler.Headers[HeaderNames.SetCookie]);
2408Assert.Equal("ContentDisposition!", handler.Headers[HeaderNames.ContentDisposition]);
2409Assert.Equal("0", handler.Headers[HeaderNames.ContentLength]);
3079new KeyValuePair<string, string>(HeaderNames.Cookie, "a=0"),
3080new KeyValuePair<string, string>(HeaderNames.Cookie, "b=1"),
3081new KeyValuePair<string, string>(HeaderNames.Cookie, "c=2"),
3093Assert.Equal("a=0; b=1; c=2", _receivedHeaders[HeaderNames.Cookie]);
Http2\Http2StreamTests.cs (79)
113Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
132Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
181new KeyValuePair<string, string>(HeaderNames.ContentLength, "11"),
188Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding));
239Assert.False(context.Request.Headers.ContainsKey(HeaderNames.TransferEncoding));
504Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
613Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
614Assert.Equal("abc", _decodedHeaders[HeaderNames.Host]);
644Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
645Assert.Equal("abc", _decodedHeaders[HeaderNames.Host]);
675Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
676Assert.Equal("def", _decodedHeaders[HeaderNames.Host]);
706Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
707Assert.Equal("def", _decodedHeaders[HeaderNames.Host]);
828Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
862Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
873new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
899Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
923new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
940Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
951new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
983Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
994new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1026Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1038new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1079Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1090new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1123new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1144new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1179new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1214new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1250new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1304new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1321Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1359Assert.Equal("11", _decodedHeaders[HeaderNames.ContentLength]);
1398Assert.Equal("11", _decodedHeaders[HeaderNames.ContentLength]);
1432Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1502Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1701Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1779Assert.Equal("11", _decodedHeaders[HeaderNames.ContentLength]);
1850Assert.Equal("11", _decodedHeaders[HeaderNames.ContentLength]);
1862new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1888Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1903new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
1935Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
1974Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2022Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2046new KeyValuePair<string, string>(HeaderNames.ContentLength, "18"),
2085Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2106new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
2136Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2216Assert.Equal("Custom 你好 Type", _decodedHeaders[HeaderNames.ContentType]);
2267Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2300Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
2551Assert.Equal("Custom 你好 Tag", _decodedHeaders[HeaderNames.ETag]);
2552Assert.Equal("Custom 你好 Accept", _decodedHeaders[HeaderNames.Accept]);
3120Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
3557Assert.Equal((int)Http2PeerSettings.DefaultMaxFrameSize, _decodedHeaders[HeaderNames.ETag].Length);
3594Assert.Equal((int)Http2PeerSettings.DefaultMaxFrameSize, _decodedHeaders[HeaderNames.ETag].Length);
3595Assert.Equal(30, _decodedHeaders[HeaderNames.TE].Length);
3643Assert.Equal((int)Http2PeerSettings.DefaultMaxFrameSize, _decodedHeaders[HeaderNames.ETag].Length);
3644Assert.Equal((int)Http2PeerSettings.DefaultMaxFrameSize, _decodedHeaders[HeaderNames.TE].Length);
3706Assert.Equal((int)Http2PeerSettings.DefaultMaxFrameSize - 20, _decodedHeaders[HeaderNames.ETag].Length);
3814Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
4281Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
4474Assert.Equal("12", _decodedHeaders[HeaderNames.ContentLength]);
4520Assert.Equal("12", _decodedHeaders[HeaderNames.ContentLength]);
4560Assert.Equal("12", _decodedHeaders[HeaderNames.ContentLength]);
4624Assert.Equal("54", _decodedHeaders[HeaderNames.ContentLength]);
4898Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
5020Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
5132Assert.Equal("0", _decodedHeaders[HeaderNames.ContentLength]);
5355Assert.Equal("25", _decodedHeaders[HeaderNames.ContentLength]);
5426Assert.Equal("25", _decodedHeaders[HeaderNames.ContentLength]);
5845response.Headers.Add(HeaderNames.TransferEncoding, "chunked");
5846response.Headers.Add(HeaderNames.Upgrade, "websocket");
5847response.Headers.Add(HeaderNames.Connection, "Keep-Alive");
5848response.Headers.Add(HeaderNames.KeepAlive, "timeout=5, max=1000");
5849response.Headers.Add(HeaderNames.ProxyConnection, "keep-alive");
Http2\Http2WebSocketTests.cs (33)
55new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
56new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
57new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
58new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
121new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
122new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
123new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
124new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
212new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
213new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
214new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
215new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
345new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
346new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
347new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
348new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
414new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
415new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
416new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
417new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
482new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
483new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
484new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
485new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
544new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
545new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
546new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
547new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
565Assert.Equal("2", _decodedHeaders[HeaderNames.ContentLength]);
654new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
655new KeyValuePair<string, string>(HeaderNames.SecWebSocketExtensions, "permessage-deflate"),
656new KeyValuePair<string, string>(HeaderNames.SecWebSocketVersion, "13"),
657new KeyValuePair<string, string>(HeaderNames.Origin, "http://www.example.com"),
Http3\Http3ConnectionTests.cs (10)
99new KeyValuePair<string, string>(HeaderNames.Expect, "100-continue"),
132new KeyValuePair<string, string>(HeaderNames.Cookie, "a=0"),
133new KeyValuePair<string, string>(HeaderNames.Cookie, "b=1"),
134new KeyValuePair<string, string>(HeaderNames.Cookie, "c=2"),
145receivedHeaders = context.Request.Headers[HeaderNames.Cookie];
419new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json"),
457new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
558new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
636new KeyValuePair<string, string>(HeaderNames.Expect, "100-continue"),
690new KeyValuePair<string, string>(HeaderNames.Expect, "100-continue"),
Http3\Http3StreamTests.cs (41)
392Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
393Assert.Equal("abc", responseHeaders[HeaderNames.Host]);
415Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
416Assert.Equal("abc", responseHeaders[HeaderNames.Host]);
438Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
439Assert.Equal("def", responseHeaders[HeaderNames.Host]);
461Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
462Assert.Equal("def", responseHeaders[HeaderNames.Host]);
553new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
571Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
582new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
607Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
618new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
642Assert.Equal("0", responseHeaders[HeaderNames.ContentLength]);
660response.Headers.Add(HeaderNames.TransferEncoding, "chunked");
661response.Headers.Add(HeaderNames.Upgrade, "websocket");
662response.Headers.Add(HeaderNames.Connection, "Keep-Alive");
663response.Headers.Add(HeaderNames.KeepAlive, "timeout=5, max=1000");
664response.Headers.Add(HeaderNames.ProxyConnection, "keep-alive");
686new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
758new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
792new KeyValuePair<string, string>(HeaderNames.ContentType, "application/json")
910Assert.Equal("Custom 你好 Type", responseHeaders[HeaderNames.ContentType]);
1059Assert.Equal("Custom 你好 Tag", responseTrailers[HeaderNames.ETag]);
1060Assert.Equal("Custom 你好 Accept", responseTrailers[HeaderNames.Accept]);
1266Assert.Equal("0", decodedHeaders[HeaderNames.ContentLength]);
1363Assert.Equal("0", decodedHeaders[HeaderNames.ContentLength]);
1623Assert.Equal("25", decodedHeaders[HeaderNames.ContentLength]);
1681Assert.Equal("25", decodedHeaders[HeaderNames.ContentLength]);
2340Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2398Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2503new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
2522Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2537new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
2563Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2595Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2635Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2659new KeyValuePair<string, string>(HeaderNames.ContentLength, "18"),
2690Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
2711new KeyValuePair<string, string>(HeaderNames.ContentLength, "12"),
2734Assert.Equal("0", receivedHeaders[HeaderNames.ContentLength]);
InteropWebsite (1)
LocalizationWebsite (1)
Microsoft.AspNetCore.Antiforgery (3)
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Cookies (1)
Microsoft.AspNetCore.Authentication.JwtBearer (2)
Microsoft.AspNetCore.Authentication.Negotiate (3)
Microsoft.AspNetCore.Authentication.Negotiate.Test (5)
Microsoft.AspNetCore.Authentication.Test (18)
Microsoft.AspNetCore.Components.Endpoints (5)
Microsoft.AspNetCore.Components.WebAssembly.Server (3)
Microsoft.AspNetCore.Components.WebAssembly.Server.Tests (34)
ContentEncodingNegotiatorTests.cs (34)
24httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
29Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
31Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
32Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
46httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
51Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
52Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
67httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
72Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
74Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
75Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
90httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
95Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
97Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
98Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
113httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
118Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
120Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
121Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
136httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
141Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
143Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
144Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
159httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
164Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
166Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
167Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
181httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
186Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
187Assert.False(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
202httpContext.Request.Headers.Append(HeaderNames.AcceptEncoding, encoding);
207Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.ContentEncoding, out var selectedEncoding));
209Assert.True(httpContext.Response.Headers.TryGetValue(HeaderNames.Vary, out var varyHeader));
210Assert.Contains(HeaderNames.ContentEncoding, varyHeader.ToArray());
Microsoft.AspNetCore.CookiePolicy.Test (3)
Microsoft.AspNetCore.Cors (10)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (10)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.HeaderParsing (16)
Microsoft.AspNetCore.HeaderParsing.Tests (18)
Microsoft.AspNetCore.HostFiltering.Tests (3)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Abstractions (2)
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.Http.Extensions (48)
RequestHeaders.cs (30)
42Headers.SetList(HeaderNames.Accept, value);
57Headers.SetList(HeaderNames.AcceptCharset, value);
72Headers.SetList(HeaderNames.AcceptEncoding, value);
87Headers.SetList(HeaderNames.AcceptLanguage, value);
98return Headers.Get<CacheControlHeaderValue>(HeaderNames.CacheControl);
102Headers.Set(HeaderNames.CacheControl, value);
113return Headers.Get<ContentDispositionHeaderValue>(HeaderNames.ContentDisposition);
117Headers.Set(HeaderNames.ContentDisposition, value);
143return Headers.Get<ContentRangeHeaderValue>(HeaderNames.ContentRange);
147Headers.Set(HeaderNames.ContentRange, value);
158return Headers.Get<MediaTypeHeaderValue>(HeaderNames.ContentType);
162Headers.Set(HeaderNames.ContentType, value);
177Headers.SetList(HeaderNames.Cookie, value);
188return Headers.GetDate(HeaderNames.Date);
192Headers.SetDate(HeaderNames.Date, value);
203return Headers.GetDate(HeaderNames.Expires);
207Headers.SetDate(HeaderNames.Expires, value);
237Headers.SetList(HeaderNames.IfMatch, value);
248return Headers.GetDate(HeaderNames.IfModifiedSince);
252Headers.SetDate(HeaderNames.IfModifiedSince, value);
267Headers.SetList(HeaderNames.IfNoneMatch, value);
278return Headers.Get<RangeConditionHeaderValue>(HeaderNames.IfRange);
282Headers.Set(HeaderNames.IfRange, value);
293return Headers.GetDate(HeaderNames.IfUnmodifiedSince);
297Headers.SetDate(HeaderNames.IfUnmodifiedSince, value);
308return Headers.GetDate(HeaderNames.LastModified);
312Headers.SetDate(HeaderNames.LastModified, value);
323return Headers.Get<RangeHeaderValue>(HeaderNames.Range);
327Headers.Set(HeaderNames.Range, value);
346Headers.Set(HeaderNames.Referer, value == null ? null : UriHelper.Encode(value));
ResponseHeaders.cs (18)
38return Headers.Get<CacheControlHeaderValue>(HeaderNames.CacheControl);
42Headers.Set(HeaderNames.CacheControl, value);
53return Headers.Get<ContentDispositionHeaderValue>(HeaderNames.ContentDisposition);
57Headers.Set(HeaderNames.ContentDisposition, value);
83return Headers.Get<ContentRangeHeaderValue>(HeaderNames.ContentRange);
87Headers.Set(HeaderNames.ContentRange, value);
98return Headers.Get<MediaTypeHeaderValue>(HeaderNames.ContentType);
102Headers.Set(HeaderNames.ContentType, value);
113return Headers.GetDate(HeaderNames.Date);
117Headers.SetDate(HeaderNames.Date, value);
128return Headers.Get<EntityTagHeaderValue>(HeaderNames.ETag);
132Headers.Set(HeaderNames.ETag, value);
143return Headers.GetDate(HeaderNames.Expires);
147Headers.SetDate(HeaderNames.Expires, value);
158return Headers.GetDate(HeaderNames.LastModified);
162Headers.SetDate(HeaderNames.LastModified, value);
181Headers.Set(HeaderNames.Location, value == null ? null : UriHelper.Encode(value));
196Headers.SetList(HeaderNames.SetCookie, value);
Microsoft.AspNetCore.Http.Extensions.Tests (17)
Microsoft.AspNetCore.Http.Features (178)
Microsoft.AspNetCore.Http.Results.Tests (4)
Microsoft.AspNetCore.HttpLogging (53)
HttpLoggingOptions.cs (45)
34HeaderNames.Accept,
35HeaderNames.AcceptCharset,
36HeaderNames.AcceptEncoding,
37HeaderNames.AcceptLanguage,
38HeaderNames.Allow,
39HeaderNames.CacheControl,
40HeaderNames.Connection,
41HeaderNames.ContentEncoding,
42HeaderNames.ContentLength,
43HeaderNames.ContentType,
44HeaderNames.Date,
45HeaderNames.DNT,
46HeaderNames.Expect,
47HeaderNames.Host,
48HeaderNames.MaxForwards,
49HeaderNames.Range,
50HeaderNames.SecWebSocketExtensions,
51HeaderNames.SecWebSocketVersion,
52HeaderNames.TE,
53HeaderNames.Trailer,
54HeaderNames.TransferEncoding,
55HeaderNames.Upgrade,
56HeaderNames.UserAgent,
57HeaderNames.Warning,
58HeaderNames.XRequestedWith,
59HeaderNames.XUACompatible
73HeaderNames.AcceptRanges,
74HeaderNames.Age,
75HeaderNames.Allow,
76HeaderNames.AltSvc,
77HeaderNames.Connection,
78HeaderNames.ContentDisposition,
79HeaderNames.ContentLanguage,
80HeaderNames.ContentLength,
81HeaderNames.ContentLocation,
82HeaderNames.ContentRange,
83HeaderNames.ContentType,
84HeaderNames.Date,
85HeaderNames.Expires,
86HeaderNames.LastModified,
87HeaderNames.Location,
88HeaderNames.Server,
89HeaderNames.TransferEncoding,
90HeaderNames.Upgrade,
91HeaderNames.XPoweredBy
Microsoft.AspNetCore.HttpLogging.Tests (22)
Microsoft.AspNetCore.HttpsPolicy.Tests (5)
Microsoft.AspNetCore.Identity.FunctionalTests (7)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.FunctionalTests (9)
Microsoft.AspNetCore.Mvc.Testing (3)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OutputCaching (82)
OutputCacheEntryFormatter.cs (78)
397HeaderNames.Accept,
398HeaderNames.AcceptCharset,
399HeaderNames.AcceptEncoding,
400HeaderNames.AcceptLanguage,
401HeaderNames.AcceptRanges,
402HeaderNames.AccessControlAllowCredentials,
403HeaderNames.AccessControlAllowHeaders,
404HeaderNames.AccessControlAllowMethods,
405HeaderNames.AccessControlAllowOrigin,
406HeaderNames.AccessControlExposeHeaders,
407HeaderNames.AccessControlMaxAge,
408HeaderNames.AccessControlRequestHeaders,
409HeaderNames.AccessControlRequestMethod,
410HeaderNames.Age,
411HeaderNames.Allow,
412HeaderNames.AltSvc,
413HeaderNames.Authorization,
414HeaderNames.Baggage,
415HeaderNames.CacheControl,
416HeaderNames.Connection,
417HeaderNames.ContentDisposition,
418HeaderNames.ContentEncoding,
419HeaderNames.ContentLanguage,
420HeaderNames.ContentLength,
421HeaderNames.ContentLocation,
422HeaderNames.ContentMD5,
423HeaderNames.ContentRange,
424HeaderNames.ContentSecurityPolicy,
425HeaderNames.ContentSecurityPolicyReportOnly,
426HeaderNames.ContentType,
427HeaderNames.CorrelationContext,
428HeaderNames.Cookie,
429HeaderNames.Date,
430HeaderNames.DNT,
431HeaderNames.ETag,
432HeaderNames.Expires,
433HeaderNames.Expect,
434HeaderNames.From,
435HeaderNames.Host,
436HeaderNames.KeepAlive,
437HeaderNames.IfMatch,
438HeaderNames.IfModifiedSince,
439HeaderNames.IfNoneMatch,
440HeaderNames.IfRange,
441HeaderNames.IfUnmodifiedSince,
442HeaderNames.LastModified,
443HeaderNames.Link,
444HeaderNames.Location,
445HeaderNames.MaxForwards,
446HeaderNames.Origin,
447HeaderNames.Pragma,
448HeaderNames.ProxyAuthenticate,
449HeaderNames.ProxyAuthorization,
450HeaderNames.ProxyConnection,
451HeaderNames.Range,
452HeaderNames.Referer,
453HeaderNames.RequestId,
454HeaderNames.RetryAfter,
455HeaderNames.Server,
456HeaderNames.StrictTransportSecurity,
457HeaderNames.TE,
458HeaderNames.Trailer,
459HeaderNames.TransferEncoding,
460HeaderNames.Translate,
461HeaderNames.TraceParent,
462HeaderNames.TraceState,
463HeaderNames.Vary,
464HeaderNames.Via,
465HeaderNames.Warning,
466HeaderNames.XContentTypeOptions,
467HeaderNames.XFrameOptions,
468HeaderNames.XPoweredBy,
469HeaderNames.XRequestedWith,
470HeaderNames.XUACompatible,
471HeaderNames.XXSSProtection,
502HeaderNames.RequestId, HeaderNames.ContentLength, HeaderNames.Age
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (2)
Microsoft.AspNetCore.OutputCaching.Tests (22)
OutputCacheEntryFormatterTests.cs (6)
51.CopyHeadersFrom(new HeaderDictionary { [HeaderNames.Accept] = new[] { "text/plain", "text/html" }, [HeaderNames.AcceptCharset] = "utf8" })
70entry.CopyHeadersFrom(new HeaderDictionary { [""] = "", [HeaderNames.Accept] = new[] { null, null, "", "text/html" }, [HeaderNames.AcceptCharset] = new string[] { null } });
84Assert.True(result.TryFindHeader(HeaderNames.Accept, out values));
90Assert.True(result.TryFindHeader(HeaderNames.AcceptCharset, out values), "Find 'AcceptCharset'");
Microsoft.AspNetCore.Owin (3)
Microsoft.AspNetCore.RequestDecompression (1)
Microsoft.AspNetCore.RequestDecompression.Tests (3)
Microsoft.AspNetCore.ResponseCaching (2)
Microsoft.AspNetCore.ResponseCaching.Tests (37)
Microsoft.AspNetCore.ResponseCompression (7)
Microsoft.AspNetCore.ResponseCompression.Tests (13)
Microsoft.AspNetCore.Rewrite (14)
Microsoft.AspNetCore.Rewrite.Tests (2)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Routing.FunctionalTests (2)
Microsoft.AspNetCore.Routing.Tests (2)
Microsoft.AspNetCore.Security.Microbenchmarks (2)
Microsoft.AspNetCore.Server.HttpSys (374)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (30)
23HeaderNames.CacheControl,
24HeaderNames.Connection,
25HeaderNames.Date,
26HeaderNames.KeepAlive,
27HeaderNames.Pragma,
28HeaderNames.Trailer,
29HeaderNames.TransferEncoding,
30HeaderNames.Upgrade,
31HeaderNames.Via,
32HeaderNames.Warning,
34HeaderNames.Allow,
35HeaderNames.ContentLength,
36HeaderNames.ContentType,
37HeaderNames.ContentEncoding,
38HeaderNames.ContentLanguage,
39HeaderNames.ContentLocation,
40HeaderNames.ContentMD5,
41HeaderNames.ContentRange,
42HeaderNames.Expires,
43HeaderNames.LastModified,
45HeaderNames.AcceptRanges,
46HeaderNames.Age,
47HeaderNames.ETag,
48HeaderNames.Location,
49HeaderNames.ProxyAuthenticate,
50HeaderNames.RetryAfter,
51HeaderNames.Server,
52HeaderNames.SetCookie,
53HeaderNames.Vary,
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (35)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
25HeaderNames.Host,
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
32HeaderNames.IfMatch, HeaderNames.IfNoneMatch, HeaderNames.IfModifiedSince, HeaderNames.IfUnmodifiedSince, HeaderNames.IfRange,
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
42HeaderNames.ContentEncoding, HeaderNames.ContentType, HeaderNames.ContentRange, HeaderNames.Trailer
123var rawValue = this[HeaderNames.ContentLength];
143ValidateRestrictedTrailers(HeaderNames.ContentLength);
153this[HeaderNames.ContentLength] = _contentLengthText;
158Remove(HeaderNames.ContentLength);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (287)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal))
1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal))
1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal))
1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal))
1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal))
1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal))
1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal))
1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal))
1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal))
1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal))
1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal))
1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal))
1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal))
1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal))
1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal))
1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal))
1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal))
1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal))
1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal))
1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal))
1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal))
1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal))
1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal))
2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal))
2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal))
2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal))
2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal))
2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal))
2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal))
2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal))
2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal))
2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal))
2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal))
2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal))
2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal))
2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal))
2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
2203yield return HeaderNames.Accept;
2207yield return HeaderNames.AcceptCharset;
2211yield return HeaderNames.AcceptEncoding;
2215yield return HeaderNames.AcceptLanguage;
2219yield return HeaderNames.Allow;
2223yield return HeaderNames.Authorization;
2227yield return HeaderNames.CacheControl;
2231yield return HeaderNames.Connection;
2235yield return HeaderNames.ContentEncoding;
2239yield return HeaderNames.ContentLanguage;
2243yield return HeaderNames.ContentLength;
2247yield return HeaderNames.ContentLocation;
2251yield return HeaderNames.ContentMD5;
2255yield return HeaderNames.ContentRange;
2259yield return HeaderNames.ContentType;
2263yield return HeaderNames.Cookie;
2267yield return HeaderNames.Date;
2271yield return HeaderNames.Expect;
2275yield return HeaderNames.Expires;
2279yield return HeaderNames.From;
2283yield return HeaderNames.Host;
2287yield return HeaderNames.IfMatch;
2291yield return HeaderNames.IfModifiedSince;
2295yield return HeaderNames.IfNoneMatch;
2299yield return HeaderNames.IfRange;
2303yield return HeaderNames.IfUnmodifiedSince;
2307yield return HeaderNames.KeepAlive;
2311yield return HeaderNames.LastModified;
2315yield return HeaderNames.MaxForwards;
2319yield return HeaderNames.Pragma;
2323yield return HeaderNames.ProxyAuthorization;
2327yield return HeaderNames.Range;
2331yield return HeaderNames.Referer;
2335yield return HeaderNames.TE;
2339yield return HeaderNames.Trailer;
2343yield return HeaderNames.TransferEncoding;
2347yield return HeaderNames.Translate;
2351yield return HeaderNames.Upgrade;
2355yield return HeaderNames.UserAgent;
2359yield return HeaderNames.Via;
2363yield return HeaderNames.Warning;
2539yield return new KeyValuePair<string, StringValues>(HeaderNames.Accept, Accept);
2543yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptCharset, AcceptCharset);
2547yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptEncoding, AcceptEncoding);
2551yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptLanguage, AcceptLanguage);
2555yield return new KeyValuePair<string, StringValues>(HeaderNames.Allow, Allow);
2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization);
2563yield return new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, CacheControl);
2567yield return new KeyValuePair<string, StringValues>(HeaderNames.Connection, Connection);
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2575yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLanguage, ContentLanguage);
2579yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, ContentLength);
2583yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLocation, ContentLocation);
2587yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentMD5, ContentMD5);
2591yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentRange, ContentRange);
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2599yield return new KeyValuePair<string, StringValues>(HeaderNames.Cookie, Cookie);
2603yield return new KeyValuePair<string, StringValues>(HeaderNames.Date, Date);
2607yield return new KeyValuePair<string, StringValues>(HeaderNames.Expect, Expect);
2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires);
2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From);
2619yield return new KeyValuePair<string, StringValues>(HeaderNames.Host, Host);
2623yield return new KeyValuePair<string, StringValues>(HeaderNames.IfMatch, IfMatch);
2627yield return new KeyValuePair<string, StringValues>(HeaderNames.IfModifiedSince, IfModifiedSince);
2631yield return new KeyValuePair<string, StringValues>(HeaderNames.IfNoneMatch, IfNoneMatch);
2635yield return new KeyValuePair<string, StringValues>(HeaderNames.IfRange, IfRange);
2639yield return new KeyValuePair<string, StringValues>(HeaderNames.IfUnmodifiedSince, IfUnmodifiedSince);
2643yield return new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, KeepAlive);
2647yield return new KeyValuePair<string, StringValues>(HeaderNames.LastModified, LastModified);
2651yield return new KeyValuePair<string, StringValues>(HeaderNames.MaxForwards, MaxForwards);
2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma);
2659yield return new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthorization, ProxyAuthorization);
2663yield return new KeyValuePair<string, StringValues>(HeaderNames.Range, Range);
2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer);
2671yield return new KeyValuePair<string, StringValues>(HeaderNames.TE, TE);
2675yield return new KeyValuePair<string, StringValues>(HeaderNames.Trailer, Trailer);
2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding);
2683yield return new KeyValuePair<string, StringValues>(HeaderNames.Translate, Translate);
2687yield return new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, Upgrade);
2691yield return new KeyValuePair<string, StringValues>(HeaderNames.UserAgent, UserAgent);
2695yield return new KeyValuePair<string, StringValues>(HeaderNames.Via, Via);
2699yield return new KeyValuePair<string, StringValues>(HeaderNames.Warning, Warning);
2750HttpSysRequestHeader.Accept => HeaderNames.Accept,
2751HttpSysRequestHeader.AcceptCharset => HeaderNames.AcceptCharset,
2752HttpSysRequestHeader.AcceptEncoding => HeaderNames.AcceptEncoding,
2753HttpSysRequestHeader.AcceptLanguage => HeaderNames.AcceptLanguage,
2754HttpSysRequestHeader.Allow => HeaderNames.Allow,
2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,
2756HttpSysRequestHeader.CacheControl => HeaderNames.CacheControl,
2757HttpSysRequestHeader.Connection => HeaderNames.Connection,
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
2759HttpSysRequestHeader.ContentLanguage => HeaderNames.ContentLanguage,
2760HttpSysRequestHeader.ContentLength => HeaderNames.ContentLength,
2761HttpSysRequestHeader.ContentLocation => HeaderNames.ContentLocation,
2762HttpSysRequestHeader.ContentMd5 => HeaderNames.ContentMD5,
2763HttpSysRequestHeader.ContentRange => HeaderNames.ContentRange,
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
2765HttpSysRequestHeader.Cookie => HeaderNames.Cookie,
2766HttpSysRequestHeader.Date => HeaderNames.Date,
2767HttpSysRequestHeader.Expect => HeaderNames.Expect,
2768HttpSysRequestHeader.Expires => HeaderNames.Expires,
2769HttpSysRequestHeader.From => HeaderNames.From,
2770HttpSysRequestHeader.Host => HeaderNames.Host,
2771HttpSysRequestHeader.IfMatch => HeaderNames.IfMatch,
2772HttpSysRequestHeader.IfModifiedSince => HeaderNames.IfModifiedSince,
2773HttpSysRequestHeader.IfNoneMatch => HeaderNames.IfNoneMatch,
2774HttpSysRequestHeader.IfRange => HeaderNames.IfRange,
2775HttpSysRequestHeader.IfUnmodifiedSince => HeaderNames.IfUnmodifiedSince,
2776HttpSysRequestHeader.KeepAlive => HeaderNames.KeepAlive,
2777HttpSysRequestHeader.LastModified => HeaderNames.LastModified,
2778HttpSysRequestHeader.MaxForwards => HeaderNames.MaxForwards,
2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,
2780HttpSysRequestHeader.ProxyAuthorization => HeaderNames.ProxyAuthorization,
2781HttpSysRequestHeader.Range => HeaderNames.Range,
2782HttpSysRequestHeader.Referer => HeaderNames.Referer,
2783HttpSysRequestHeader.Te => HeaderNames.TE,
2784HttpSysRequestHeader.Trailer => HeaderNames.Trailer,
2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
2786HttpSysRequestHeader.Translate => HeaderNames.Translate,
2787HttpSysRequestHeader.Upgrade => HeaderNames.Upgrade,
2788HttpSysRequestHeader.UserAgent => HeaderNames.UserAgent,
2789HttpSysRequestHeader.Via => HeaderNames.Via,
2790HttpSysRequestHeader.Warning => HeaderNames.Warning,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (57)
RequestHeaderTests.cs (30)
192Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
220Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
287yield return (HttpSysRequestHeader.CacheControl, HeaderNames.CacheControl);
288yield return (HttpSysRequestHeader.Connection, HeaderNames.Connection);
290yield return (HttpSysRequestHeader.KeepAlive, HeaderNames.KeepAlive);
291yield return (HttpSysRequestHeader.Pragma, HeaderNames.Pragma);
292yield return (HttpSysRequestHeader.Trailer, HeaderNames.Trailer);
293yield return (HttpSysRequestHeader.TransferEncoding, HeaderNames.TransferEncoding);
294yield return (HttpSysRequestHeader.Upgrade, HeaderNames.Upgrade);
301yield return (HttpSysRequestHeader.ContentLocation, HeaderNames.ContentLocation);
302yield return (HttpSysRequestHeader.ContentMd5, HeaderNames.ContentMD5);
303yield return (HttpSysRequestHeader.ContentRange, HeaderNames.ContentRange);
304yield return (HttpSysRequestHeader.LastModified, HeaderNames.LastModified);
306yield return (HttpSysRequestHeader.AcceptCharset, HeaderNames.AcceptCharset);
307yield return (HttpSysRequestHeader.AcceptEncoding, HeaderNames.AcceptEncoding);
308yield return (HttpSysRequestHeader.AcceptLanguage, HeaderNames.AcceptLanguage);
309yield return (HttpSysRequestHeader.Authorization, HeaderNames.Authorization);
310yield return (HttpSysRequestHeader.Cookie, HeaderNames.Cookie);
311yield return (HttpSysRequestHeader.Expect, HeaderNames.Expect);
312yield return (HttpSysRequestHeader.From, HeaderNames.From);
313yield return (HttpSysRequestHeader.IfMatch, HeaderNames.IfMatch);
314yield return (HttpSysRequestHeader.IfModifiedSince, HeaderNames.IfModifiedSince);
315yield return (HttpSysRequestHeader.IfNoneMatch, HeaderNames.IfNoneMatch);
316yield return (HttpSysRequestHeader.IfRange, HeaderNames.IfRange);
317yield return (HttpSysRequestHeader.IfUnmodifiedSince, HeaderNames.IfUnmodifiedSince);
318yield return (HttpSysRequestHeader.MaxForwards, HeaderNames.MaxForwards);
319yield return (HttpSysRequestHeader.ProxyAuthorization, HeaderNames.ProxyAuthorization);
320yield return (HttpSysRequestHeader.Referer, HeaderNames.Referer);
322yield return (HttpSysRequestHeader.Translate, HeaderNames.Translate);
323yield return (HttpSysRequestHeader.UserAgent, HeaderNames.UserAgent);
Microsoft.AspNetCore.Server.HttpSys.Tests (17)
RequestHeaderTests.cs (17)
35Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
36Assert.Contains(HeaderNames.ContentType, requestHeaders.Keys);
56Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
57Assert.Contains(HeaderNames.ContentType, requestHeaders.Keys);
156Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
157Assert.Contains(HeaderNames.ContentType, requestHeaders.Keys);
180Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
181Assert.Contains(HeaderNames.ContentType, requestHeaders.Keys);
287requestHeaders.Remove(HeaderNames.ContentType);
309requestHeaders[HeaderNames.From] = "FromValue";
328Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
329Assert.Contains(HeaderNames.ContentType, requestHeaders.Keys);
331requestHeaders.Remove(HeaderNames.ContentType);
333Assert.DoesNotContain(HeaderNames.ContentType, requestHeaders.Keys);
349Assert.DoesNotContain(HeaderNames.From, requestHeaders.Keys);
351requestHeaders[HeaderNames.From] = "FromValue";
353Assert.Contains(HeaderNames.From, requestHeaders.Keys);
Microsoft.AspNetCore.Server.IIS (357)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (30)
23HeaderNames.CacheControl,
24HeaderNames.Connection,
25HeaderNames.Date,
26HeaderNames.KeepAlive,
27HeaderNames.Pragma,
28HeaderNames.Trailer,
29HeaderNames.TransferEncoding,
30HeaderNames.Upgrade,
31HeaderNames.Via,
32HeaderNames.Warning,
34HeaderNames.Allow,
35HeaderNames.ContentLength,
36HeaderNames.ContentType,
37HeaderNames.ContentEncoding,
38HeaderNames.ContentLanguage,
39HeaderNames.ContentLocation,
40HeaderNames.ContentMD5,
41HeaderNames.ContentRange,
42HeaderNames.Expires,
43HeaderNames.LastModified,
45HeaderNames.AcceptRanges,
46HeaderNames.Age,
47HeaderNames.ETag,
48HeaderNames.Location,
49HeaderNames.ProxyAuthenticate,
50HeaderNames.RetryAfter,
51HeaderNames.Server,
52HeaderNames.SetCookie,
53HeaderNames.Vary,
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (35)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
25HeaderNames.Host,
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
32HeaderNames.IfMatch, HeaderNames.IfNoneMatch, HeaderNames.IfModifiedSince, HeaderNames.IfUnmodifiedSince, HeaderNames.IfRange,
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
42HeaderNames.ContentEncoding, HeaderNames.ContentType, HeaderNames.ContentRange, HeaderNames.Trailer
123var rawValue = this[HeaderNames.ContentLength];
143ValidateRestrictedTrailers(HeaderNames.ContentLength);
153this[HeaderNames.ContentLength] = _contentLengthText;
158Remove(HeaderNames.ContentLength);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (287)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal))
1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal))
1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal))
1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal))
1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal))
1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal))
1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal))
1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal))
1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal))
1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal))
1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal))
1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal))
1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal))
1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal))
1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal))
1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal))
1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal))
1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal))
1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal))
1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal))
1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal))
1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal))
1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal))
2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal))
2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal))
2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal))
2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal))
2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal))
2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal))
2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal))
2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal))
2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal))
2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal))
2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal))
2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal))
2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal))
2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
2203yield return HeaderNames.Accept;
2207yield return HeaderNames.AcceptCharset;
2211yield return HeaderNames.AcceptEncoding;
2215yield return HeaderNames.AcceptLanguage;
2219yield return HeaderNames.Allow;
2223yield return HeaderNames.Authorization;
2227yield return HeaderNames.CacheControl;
2231yield return HeaderNames.Connection;
2235yield return HeaderNames.ContentEncoding;
2239yield return HeaderNames.ContentLanguage;
2243yield return HeaderNames.ContentLength;
2247yield return HeaderNames.ContentLocation;
2251yield return HeaderNames.ContentMD5;
2255yield return HeaderNames.ContentRange;
2259yield return HeaderNames.ContentType;
2263yield return HeaderNames.Cookie;
2267yield return HeaderNames.Date;
2271yield return HeaderNames.Expect;
2275yield return HeaderNames.Expires;
2279yield return HeaderNames.From;
2283yield return HeaderNames.Host;
2287yield return HeaderNames.IfMatch;
2291yield return HeaderNames.IfModifiedSince;
2295yield return HeaderNames.IfNoneMatch;
2299yield return HeaderNames.IfRange;
2303yield return HeaderNames.IfUnmodifiedSince;
2307yield return HeaderNames.KeepAlive;
2311yield return HeaderNames.LastModified;
2315yield return HeaderNames.MaxForwards;
2319yield return HeaderNames.Pragma;
2323yield return HeaderNames.ProxyAuthorization;
2327yield return HeaderNames.Range;
2331yield return HeaderNames.Referer;
2335yield return HeaderNames.TE;
2339yield return HeaderNames.Trailer;
2343yield return HeaderNames.TransferEncoding;
2347yield return HeaderNames.Translate;
2351yield return HeaderNames.Upgrade;
2355yield return HeaderNames.UserAgent;
2359yield return HeaderNames.Via;
2363yield return HeaderNames.Warning;
2539yield return new KeyValuePair<string, StringValues>(HeaderNames.Accept, Accept);
2543yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptCharset, AcceptCharset);
2547yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptEncoding, AcceptEncoding);
2551yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptLanguage, AcceptLanguage);
2555yield return new KeyValuePair<string, StringValues>(HeaderNames.Allow, Allow);
2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization);
2563yield return new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, CacheControl);
2567yield return new KeyValuePair<string, StringValues>(HeaderNames.Connection, Connection);
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2575yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLanguage, ContentLanguage);
2579yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, ContentLength);
2583yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLocation, ContentLocation);
2587yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentMD5, ContentMD5);
2591yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentRange, ContentRange);
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2599yield return new KeyValuePair<string, StringValues>(HeaderNames.Cookie, Cookie);
2603yield return new KeyValuePair<string, StringValues>(HeaderNames.Date, Date);
2607yield return new KeyValuePair<string, StringValues>(HeaderNames.Expect, Expect);
2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires);
2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From);
2619yield return new KeyValuePair<string, StringValues>(HeaderNames.Host, Host);
2623yield return new KeyValuePair<string, StringValues>(HeaderNames.IfMatch, IfMatch);
2627yield return new KeyValuePair<string, StringValues>(HeaderNames.IfModifiedSince, IfModifiedSince);
2631yield return new KeyValuePair<string, StringValues>(HeaderNames.IfNoneMatch, IfNoneMatch);
2635yield return new KeyValuePair<string, StringValues>(HeaderNames.IfRange, IfRange);
2639yield return new KeyValuePair<string, StringValues>(HeaderNames.IfUnmodifiedSince, IfUnmodifiedSince);
2643yield return new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, KeepAlive);
2647yield return new KeyValuePair<string, StringValues>(HeaderNames.LastModified, LastModified);
2651yield return new KeyValuePair<string, StringValues>(HeaderNames.MaxForwards, MaxForwards);
2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma);
2659yield return new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthorization, ProxyAuthorization);
2663yield return new KeyValuePair<string, StringValues>(HeaderNames.Range, Range);
2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer);
2671yield return new KeyValuePair<string, StringValues>(HeaderNames.TE, TE);
2675yield return new KeyValuePair<string, StringValues>(HeaderNames.Trailer, Trailer);
2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding);
2683yield return new KeyValuePair<string, StringValues>(HeaderNames.Translate, Translate);
2687yield return new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, Upgrade);
2691yield return new KeyValuePair<string, StringValues>(HeaderNames.UserAgent, UserAgent);
2695yield return new KeyValuePair<string, StringValues>(HeaderNames.Via, Via);
2699yield return new KeyValuePair<string, StringValues>(HeaderNames.Warning, Warning);
2750HttpSysRequestHeader.Accept => HeaderNames.Accept,
2751HttpSysRequestHeader.AcceptCharset => HeaderNames.AcceptCharset,
2752HttpSysRequestHeader.AcceptEncoding => HeaderNames.AcceptEncoding,
2753HttpSysRequestHeader.AcceptLanguage => HeaderNames.AcceptLanguage,
2754HttpSysRequestHeader.Allow => HeaderNames.Allow,
2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,
2756HttpSysRequestHeader.CacheControl => HeaderNames.CacheControl,
2757HttpSysRequestHeader.Connection => HeaderNames.Connection,
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
2759HttpSysRequestHeader.ContentLanguage => HeaderNames.ContentLanguage,
2760HttpSysRequestHeader.ContentLength => HeaderNames.ContentLength,
2761HttpSysRequestHeader.ContentLocation => HeaderNames.ContentLocation,
2762HttpSysRequestHeader.ContentMd5 => HeaderNames.ContentMD5,
2763HttpSysRequestHeader.ContentRange => HeaderNames.ContentRange,
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
2765HttpSysRequestHeader.Cookie => HeaderNames.Cookie,
2766HttpSysRequestHeader.Date => HeaderNames.Date,
2767HttpSysRequestHeader.Expect => HeaderNames.Expect,
2768HttpSysRequestHeader.Expires => HeaderNames.Expires,
2769HttpSysRequestHeader.From => HeaderNames.From,
2770HttpSysRequestHeader.Host => HeaderNames.Host,
2771HttpSysRequestHeader.IfMatch => HeaderNames.IfMatch,
2772HttpSysRequestHeader.IfModifiedSince => HeaderNames.IfModifiedSince,
2773HttpSysRequestHeader.IfNoneMatch => HeaderNames.IfNoneMatch,
2774HttpSysRequestHeader.IfRange => HeaderNames.IfRange,
2775HttpSysRequestHeader.IfUnmodifiedSince => HeaderNames.IfUnmodifiedSince,
2776HttpSysRequestHeader.KeepAlive => HeaderNames.KeepAlive,
2777HttpSysRequestHeader.LastModified => HeaderNames.LastModified,
2778HttpSysRequestHeader.MaxForwards => HeaderNames.MaxForwards,
2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,
2780HttpSysRequestHeader.ProxyAuthorization => HeaderNames.ProxyAuthorization,
2781HttpSysRequestHeader.Range => HeaderNames.Range,
2782HttpSysRequestHeader.Referer => HeaderNames.Referer,
2783HttpSysRequestHeader.Te => HeaderNames.TE,
2784HttpSysRequestHeader.Trailer => HeaderNames.Trailer,
2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
2786HttpSysRequestHeader.Translate => HeaderNames.Translate,
2787HttpSysRequestHeader.Upgrade => HeaderNames.Upgrade,
2788HttpSysRequestHeader.UserAgent => HeaderNames.UserAgent,
2789HttpSysRequestHeader.Via => HeaderNames.Via,
2790HttpSysRequestHeader.Warning => HeaderNames.Warning,
Microsoft.AspNetCore.Server.Kestrel.Core (1597)
Internal\Http\HttpHeaders.Generated.cs (1589)
284HeaderNames.Accept,
285HeaderNames.AcceptCharset,
286HeaderNames.AcceptEncoding,
287HeaderNames.AcceptLanguage,
288HeaderNames.AcceptRanges,
289HeaderNames.AccessControlAllowCredentials,
290HeaderNames.AccessControlAllowHeaders,
291HeaderNames.AccessControlAllowMethods,
292HeaderNames.AccessControlAllowOrigin,
293HeaderNames.AccessControlExposeHeaders,
294HeaderNames.AccessControlMaxAge,
295HeaderNames.AccessControlRequestHeaders,
296HeaderNames.AccessControlRequestMethod,
297HeaderNames.Age,
298HeaderNames.Allow,
299HeaderNames.AltSvc,
300HeaderNames.Authorization,
301HeaderNames.Baggage,
302HeaderNames.CacheControl,
303HeaderNames.Connection,
304HeaderNames.ContentDisposition,
305HeaderNames.ContentEncoding,
306HeaderNames.ContentLanguage,
307HeaderNames.ContentLength,
308HeaderNames.ContentLocation,
309HeaderNames.ContentMD5,
310HeaderNames.ContentRange,
311HeaderNames.ContentSecurityPolicy,
312HeaderNames.ContentSecurityPolicyReportOnly,
313HeaderNames.ContentType,
314HeaderNames.CorrelationContext,
315HeaderNames.Cookie,
316HeaderNames.Date,
317HeaderNames.DNT,
318HeaderNames.ETag,
319HeaderNames.Expires,
320HeaderNames.Expect,
321HeaderNames.From,
322HeaderNames.GrpcAcceptEncoding,
323HeaderNames.GrpcEncoding,
324HeaderNames.GrpcMessage,
325HeaderNames.GrpcStatus,
326HeaderNames.GrpcTimeout,
327HeaderNames.Host,
328HeaderNames.KeepAlive,
329HeaderNames.IfMatch,
330HeaderNames.IfModifiedSince,
331HeaderNames.IfNoneMatch,
332HeaderNames.IfRange,
333HeaderNames.IfUnmodifiedSince,
334HeaderNames.LastModified,
335HeaderNames.Link,
336HeaderNames.Location,
337HeaderNames.MaxForwards,
338HeaderNames.Origin,
339HeaderNames.Pragma,
340HeaderNames.ProxyAuthenticate,
341HeaderNames.ProxyAuthorization,
342HeaderNames.ProxyConnection,
343HeaderNames.Range,
344HeaderNames.Referer,
345HeaderNames.RetryAfter,
346HeaderNames.RequestId,
347HeaderNames.SecWebSocketAccept,
348HeaderNames.SecWebSocketKey,
349HeaderNames.SecWebSocketProtocol,
350HeaderNames.SecWebSocketVersion,
351HeaderNames.SecWebSocketExtensions,
352HeaderNames.Server,
353HeaderNames.SetCookie,
354HeaderNames.StrictTransportSecurity,
355HeaderNames.TE,
356HeaderNames.Trailer,
357HeaderNames.TransferEncoding,
358HeaderNames.Translate,
359HeaderNames.TraceParent,
360HeaderNames.TraceState,
361HeaderNames.Upgrade,
362HeaderNames.UpgradeInsecureRequests,
363HeaderNames.UserAgent,
364HeaderNames.Vary,
365HeaderNames.Via,
366HeaderNames.Warning,
367HeaderNames.WebSocketSubProtocols,
368HeaderNames.WWWAuthenticate,
369HeaderNames.XContentTypeOptions,
370HeaderNames.XFrameOptions,
371HeaderNames.XPoweredBy,
372HeaderNames.XRequestedWith,
373HeaderNames.XUACompatible,
374HeaderNames.XXSSProtection,
1806if (!TryGetUnknown(HeaderNames.AcceptRanges, ref value))
1815SetValueUnknown(HeaderNames.AcceptRanges, value);
1823if (!TryGetUnknown(HeaderNames.AccessControlAllowCredentials, ref value))
1832SetValueUnknown(HeaderNames.AccessControlAllowCredentials, value);
1840if (!TryGetUnknown(HeaderNames.AccessControlAllowHeaders, ref value))
1849SetValueUnknown(HeaderNames.AccessControlAllowHeaders, value);
1857if (!TryGetUnknown(HeaderNames.AccessControlAllowMethods, ref value))
1866SetValueUnknown(HeaderNames.AccessControlAllowMethods, value);
1874if (!TryGetUnknown(HeaderNames.AccessControlAllowOrigin, ref value))
1883SetValueUnknown(HeaderNames.AccessControlAllowOrigin, value);
1891if (!TryGetUnknown(HeaderNames.AccessControlExposeHeaders, ref value))
1900SetValueUnknown(HeaderNames.AccessControlExposeHeaders, value);
1908if (!TryGetUnknown(HeaderNames.AccessControlMaxAge, ref value))
1917SetValueUnknown(HeaderNames.AccessControlMaxAge, value);
1925if (!TryGetUnknown(HeaderNames.Age, ref value))
1934SetValueUnknown(HeaderNames.Age, value);
1942if (!TryGetUnknown(HeaderNames.Allow, ref value))
1951SetValueUnknown(HeaderNames.Allow, value);
1959if (!TryGetUnknown(HeaderNames.AltSvc, ref value))
1968SetValueUnknown(HeaderNames.AltSvc, value);
1976if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value))
1985SetValueUnknown(HeaderNames.ContentDisposition, value);
1993if (!TryGetUnknown(HeaderNames.ContentEncoding, ref value))
2002SetValueUnknown(HeaderNames.ContentEncoding, value);
2010if (!TryGetUnknown(HeaderNames.ContentLanguage, ref value))
2019SetValueUnknown(HeaderNames.ContentLanguage, value);
2027if (!TryGetUnknown(HeaderNames.ContentLocation, ref value))
2036SetValueUnknown(HeaderNames.ContentLocation, value);
2044if (!TryGetUnknown(HeaderNames.ContentMD5, ref value))
2053SetValueUnknown(HeaderNames.ContentMD5, value);
2061if (!TryGetUnknown(HeaderNames.ContentRange, ref value))
2070SetValueUnknown(HeaderNames.ContentRange, value);
2078if (!TryGetUnknown(HeaderNames.ContentSecurityPolicy, ref value))
2087SetValueUnknown(HeaderNames.ContentSecurityPolicy, value);
2095if (!TryGetUnknown(HeaderNames.ContentSecurityPolicyReportOnly, ref value))
2104SetValueUnknown(HeaderNames.ContentSecurityPolicyReportOnly, value);
2112if (!TryGetUnknown(HeaderNames.ETag, ref value))
2121SetValueUnknown(HeaderNames.ETag, value);
2129if (!TryGetUnknown(HeaderNames.Expires, ref value))
2138SetValueUnknown(HeaderNames.Expires, value);
2146if (!TryGetUnknown(HeaderNames.GrpcMessage, ref value))
2155SetValueUnknown(HeaderNames.GrpcMessage, value);
2163if (!TryGetUnknown(HeaderNames.GrpcStatus, ref value))
2172SetValueUnknown(HeaderNames.GrpcStatus, value);
2180if (!TryGetUnknown(HeaderNames.LastModified, ref value))
2189SetValueUnknown(HeaderNames.LastModified, value);
2197if (!TryGetUnknown(HeaderNames.Link, ref value))
2206SetValueUnknown(HeaderNames.Link, value);
2214if (!TryGetUnknown(HeaderNames.Location, ref value))
2223SetValueUnknown(HeaderNames.Location, value);
2231if (!TryGetUnknown(HeaderNames.ProxyAuthenticate, ref value))
2240SetValueUnknown(HeaderNames.ProxyAuthenticate, value);
2248if (!TryGetUnknown(HeaderNames.ProxyConnection, ref value))
2257SetValueUnknown(HeaderNames.ProxyConnection, value);
2265if (!TryGetUnknown(HeaderNames.RetryAfter, ref value))
2274SetValueUnknown(HeaderNames.RetryAfter, value);
2282if (!TryGetUnknown(HeaderNames.SecWebSocketAccept, ref value))
2291SetValueUnknown(HeaderNames.SecWebSocketAccept, value);
2299if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value))
2308SetValueUnknown(HeaderNames.SecWebSocketKey, value);
2316if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value))
2325SetValueUnknown(HeaderNames.SecWebSocketProtocol, value);
2333if (!TryGetUnknown(HeaderNames.SecWebSocketVersion, ref value))
2342SetValueUnknown(HeaderNames.SecWebSocketVersion, value);
2350if (!TryGetUnknown(HeaderNames.SecWebSocketExtensions, ref value))
2359SetValueUnknown(HeaderNames.SecWebSocketExtensions, value);
2367if (!TryGetUnknown(HeaderNames.Server, ref value))
2376SetValueUnknown(HeaderNames.Server, value);
2384if (!TryGetUnknown(HeaderNames.SetCookie, ref value))
2393SetValueUnknown(HeaderNames.SetCookie, value);
2401if (!TryGetUnknown(HeaderNames.StrictTransportSecurity, ref value))
2410SetValueUnknown(HeaderNames.StrictTransportSecurity, value);
2418if (!TryGetUnknown(HeaderNames.Trailer, ref value))
2427SetValueUnknown(HeaderNames.Trailer, value);
2435if (!TryGetUnknown(HeaderNames.Vary, ref value))
2444SetValueUnknown(HeaderNames.Vary, value);
2452if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value))
2461SetValueUnknown(HeaderNames.WebSocketSubProtocols, value);
2469if (!TryGetUnknown(HeaderNames.WWWAuthenticate, ref value))
2478SetValueUnknown(HeaderNames.WWWAuthenticate, value);
2486if (!TryGetUnknown(HeaderNames.XContentTypeOptions, ref value))
2495SetValueUnknown(HeaderNames.XContentTypeOptions, value);
2503if (!TryGetUnknown(HeaderNames.XFrameOptions, ref value))
2512SetValueUnknown(HeaderNames.XFrameOptions, value);
2520if (!TryGetUnknown(HeaderNames.XPoweredBy, ref value))
2529SetValueUnknown(HeaderNames.XPoweredBy, value);
2537if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value))
2546SetValueUnknown(HeaderNames.XRequestedWith, value);
2554if (!TryGetUnknown(HeaderNames.XUACompatible, ref value))
2563SetValueUnknown(HeaderNames.XUACompatible, value);
2571if (!TryGetUnknown(HeaderNames.XXSSProtection, ref value))
2580SetValueUnknown(HeaderNames.XXSSProtection, value);
2596if (ReferenceEquals(HeaderNames.TE, key))
2606if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
2619if (ReferenceEquals(HeaderNames.Via, key))
2629if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
2642if (ReferenceEquals(HeaderNames.Host, key))
2651if (ReferenceEquals(HeaderNames.Date, key))
2660if (ReferenceEquals(HeaderNames.From, key))
2670if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
2679if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
2688if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
2710if (ReferenceEquals(HeaderNames.Range, key))
2729if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
2742if (ReferenceEquals(HeaderNames.Accept, key))
2751if (ReferenceEquals(HeaderNames.Cookie, key))
2760if (ReferenceEquals(HeaderNames.Expect, key))
2769if (ReferenceEquals(HeaderNames.Origin, key))
2778if (ReferenceEquals(HeaderNames.Pragma, key))
2788if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
2797if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
2806if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
2815if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
2824if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
2855if (ReferenceEquals(HeaderNames.Baggage, key))
2864if (ReferenceEquals(HeaderNames.Referer, key))
2873if (ReferenceEquals(HeaderNames.Upgrade, key))
2882if (ReferenceEquals(HeaderNames.Warning, key))
2910if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
2919if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
2928if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
2937if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
2959if (ReferenceEquals(HeaderNames.IfMatch, key))
2968if (ReferenceEquals(HeaderNames.IfRange, key))
2987if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
2996if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
3018if (ReferenceEquals(HeaderNames.Translate, key))
3037if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
3050if (ReferenceEquals(HeaderNames.Connection, key))
3059if (ReferenceEquals(HeaderNames.UserAgent, key))
3077if (ReferenceEquals(HeaderNames.KeepAlive, key))
3086if (ReferenceEquals(HeaderNames.RequestId, key))
3095if (ReferenceEquals(HeaderNames.TraceState, key))
3105if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
3114if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
3132if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
3141if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
3150if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
3163if (ReferenceEquals(HeaderNames.TraceParent, key))
3173if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
3186if (ReferenceEquals(HeaderNames.ContentType, key))
3195if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
3204if (ReferenceEquals(HeaderNames.MaxForwards, key))
3214if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
3223if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
3232if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
3245if (ReferenceEquals(HeaderNames.Authorization, key))
3254if (ReferenceEquals(HeaderNames.CacheControl, key))
3263if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
3272if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
3282if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
3291if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
3300if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3309if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
3322if (ReferenceEquals(HeaderNames.AcceptCharset, key))
3331if (ReferenceEquals(HeaderNames.ContentLength, key))
3341if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
3350if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
3363if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
3372if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
3382if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3391if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
3404if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
3413if (ReferenceEquals(HeaderNames.TransferEncoding, key))
3423if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
3432if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3445if (ReferenceEquals(HeaderNames.CorrelationContext, key))
3454if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
3463if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
3473if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
3482if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
3491if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
3504if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
3514if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
3527if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
3537if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
3550if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
3560if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
3573if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
3583if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
3605if (ReferenceEquals(HeaderNames.TE, key))
3612if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
3622if (ReferenceEquals(HeaderNames.Via, key))
3629if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
3639if (ReferenceEquals(HeaderNames.Host, key))
3645if (ReferenceEquals(HeaderNames.Date, key))
3651if (ReferenceEquals(HeaderNames.From, key))
3658if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
3664if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
3670if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
3686if (ReferenceEquals(HeaderNames.Range, key))
3699if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
3709if (ReferenceEquals(HeaderNames.Accept, key))
3715if (ReferenceEquals(HeaderNames.Cookie, key))
3721if (ReferenceEquals(HeaderNames.Expect, key))
3727if (ReferenceEquals(HeaderNames.Origin, key))
3733if (ReferenceEquals(HeaderNames.Pragma, key))
3740if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
3746if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
3752if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
3758if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
3764if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
3786if (ReferenceEquals(HeaderNames.Baggage, key))
3792if (ReferenceEquals(HeaderNames.Referer, key))
3798if (ReferenceEquals(HeaderNames.Upgrade, key))
3804if (ReferenceEquals(HeaderNames.Warning, key))
3823if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
3829if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
3835if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
3841if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
3857if (ReferenceEquals(HeaderNames.IfMatch, key))
3863if (ReferenceEquals(HeaderNames.IfRange, key))
3876if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
3882if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
3898if (ReferenceEquals(HeaderNames.Translate, key))
3911if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
3921if (ReferenceEquals(HeaderNames.Connection, key))
3927if (ReferenceEquals(HeaderNames.UserAgent, key))
3939if (ReferenceEquals(HeaderNames.KeepAlive, key))
3945if (ReferenceEquals(HeaderNames.RequestId, key))
3951if (ReferenceEquals(HeaderNames.TraceState, key))
3958if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
3964if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
3976if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
3982if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
3988if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
3998if (ReferenceEquals(HeaderNames.TraceParent, key))
4005if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
4015if (ReferenceEquals(HeaderNames.ContentType, key))
4021if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
4027if (ReferenceEquals(HeaderNames.MaxForwards, key))
4034if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
4040if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
4046if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
4056if (ReferenceEquals(HeaderNames.Authorization, key))
4062if (ReferenceEquals(HeaderNames.CacheControl, key))
4068if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
4074if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
4081if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
4087if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
4093if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4099if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
4109if (ReferenceEquals(HeaderNames.AcceptCharset, key))
4115if (ReferenceEquals(HeaderNames.ContentLength, key))
4121if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
4127if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
4136if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
4142if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
4149if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4155if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
4165if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
4171if (ReferenceEquals(HeaderNames.TransferEncoding, key))
4178if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
4184if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4194if (ReferenceEquals(HeaderNames.CorrelationContext, key))
4200if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
4206if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
4213if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
4219if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
4225if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
4235if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
4242if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
4252if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
4259if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
4269if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
4276if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
4286if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
4293if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
4312if (ReferenceEquals(HeaderNames.TE, key))
4323if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
4337if (ReferenceEquals(HeaderNames.Via, key))
4348if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
4362if (ReferenceEquals(HeaderNames.Host, key))
4372if (ReferenceEquals(HeaderNames.Date, key))
4382if (ReferenceEquals(HeaderNames.From, key))
4393if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
4403if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
4413if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
4437if (ReferenceEquals(HeaderNames.Range, key))
4458if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
4472if (ReferenceEquals(HeaderNames.Accept, key))
4482if (ReferenceEquals(HeaderNames.Cookie, key))
4492if (ReferenceEquals(HeaderNames.Expect, key))
4502if (ReferenceEquals(HeaderNames.Origin, key))
4512if (ReferenceEquals(HeaderNames.Pragma, key))
4523if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
4533if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
4543if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
4553if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
4563if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
4597if (ReferenceEquals(HeaderNames.Baggage, key))
4607if (ReferenceEquals(HeaderNames.Referer, key))
4617if (ReferenceEquals(HeaderNames.Upgrade, key))
4627if (ReferenceEquals(HeaderNames.Warning, key))
4658if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
4668if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
4678if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
4688if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
4712if (ReferenceEquals(HeaderNames.IfMatch, key))
4722if (ReferenceEquals(HeaderNames.IfRange, key))
4743if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
4753if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
4777if (ReferenceEquals(HeaderNames.Translate, key))
4798if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
4812if (ReferenceEquals(HeaderNames.Connection, key))
4822if (ReferenceEquals(HeaderNames.UserAgent, key))
4842if (ReferenceEquals(HeaderNames.KeepAlive, key))
4852if (ReferenceEquals(HeaderNames.RequestId, key))
4862if (ReferenceEquals(HeaderNames.TraceState, key))
4873if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
4883if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
4903if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
4913if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
4923if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
4937if (ReferenceEquals(HeaderNames.TraceParent, key))
4948if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
4962if (ReferenceEquals(HeaderNames.ContentType, key))
4972if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
4982if (ReferenceEquals(HeaderNames.MaxForwards, key))
4993if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
5003if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
5013if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
5027if (ReferenceEquals(HeaderNames.Authorization, key))
5037if (ReferenceEquals(HeaderNames.CacheControl, key))
5047if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
5057if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
5068if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
5078if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
5088if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5098if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
5112if (ReferenceEquals(HeaderNames.AcceptCharset, key))
5122if (ReferenceEquals(HeaderNames.ContentLength, key))
5132if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
5142if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
5155if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
5165if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
5176if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5186if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
5200if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
5210if (ReferenceEquals(HeaderNames.TransferEncoding, key))
5221if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
5231if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5245if (ReferenceEquals(HeaderNames.CorrelationContext, key))
5255if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
5265if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
5276if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
5286if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
5296if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
5310if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
5321if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
5335if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
5346if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
5360if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
5371if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
5385if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
5396if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
5419if (ReferenceEquals(HeaderNames.TE, key))
5430if (HeaderNames.TE.Equals(key, StringComparison.OrdinalIgnoreCase))
5444if (ReferenceEquals(HeaderNames.Via, key))
5455if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
5469if (ReferenceEquals(HeaderNames.Host, key))
5479if (ReferenceEquals(HeaderNames.Date, key))
5489if (ReferenceEquals(HeaderNames.From, key))
5500if (HeaderNames.Host.Equals(key, StringComparison.OrdinalIgnoreCase))
5510if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
5520if (HeaderNames.From.Equals(key, StringComparison.OrdinalIgnoreCase))
5544if (ReferenceEquals(HeaderNames.Range, key))
5565if (HeaderNames.Range.Equals(key, StringComparison.OrdinalIgnoreCase))
5579if (ReferenceEquals(HeaderNames.Accept, key))
5589if (ReferenceEquals(HeaderNames.Cookie, key))
5599if (ReferenceEquals(HeaderNames.Expect, key))
5609if (ReferenceEquals(HeaderNames.Origin, key))
5619if (ReferenceEquals(HeaderNames.Pragma, key))
5630if (HeaderNames.Accept.Equals(key, StringComparison.OrdinalIgnoreCase))
5640if (HeaderNames.Cookie.Equals(key, StringComparison.OrdinalIgnoreCase))
5650if (HeaderNames.Expect.Equals(key, StringComparison.OrdinalIgnoreCase))
5660if (HeaderNames.Origin.Equals(key, StringComparison.OrdinalIgnoreCase))
5670if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
5704if (ReferenceEquals(HeaderNames.Baggage, key))
5714if (ReferenceEquals(HeaderNames.Referer, key))
5724if (ReferenceEquals(HeaderNames.Upgrade, key))
5734if (ReferenceEquals(HeaderNames.Warning, key))
5765if (HeaderNames.Baggage.Equals(key, StringComparison.OrdinalIgnoreCase))
5775if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase))
5785if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
5795if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
5819if (ReferenceEquals(HeaderNames.IfMatch, key))
5829if (ReferenceEquals(HeaderNames.IfRange, key))
5850if (HeaderNames.IfMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
5860if (HeaderNames.IfRange.Equals(key, StringComparison.OrdinalIgnoreCase))
5884if (ReferenceEquals(HeaderNames.Translate, key))
5905if (HeaderNames.Translate.Equals(key, StringComparison.OrdinalIgnoreCase))
5919if (ReferenceEquals(HeaderNames.Connection, key))
5929if (ReferenceEquals(HeaderNames.UserAgent, key))
5949if (ReferenceEquals(HeaderNames.KeepAlive, key))
5959if (ReferenceEquals(HeaderNames.RequestId, key))
5969if (ReferenceEquals(HeaderNames.TraceState, key))
5980if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
5990if (HeaderNames.UserAgent.Equals(key, StringComparison.OrdinalIgnoreCase))
6010if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
6020if (HeaderNames.RequestId.Equals(key, StringComparison.OrdinalIgnoreCase))
6030if (HeaderNames.TraceState.Equals(key, StringComparison.OrdinalIgnoreCase))
6044if (ReferenceEquals(HeaderNames.TraceParent, key))
6055if (HeaderNames.TraceParent.Equals(key, StringComparison.OrdinalIgnoreCase))
6069if (ReferenceEquals(HeaderNames.ContentType, key))
6079if (ReferenceEquals(HeaderNames.GrpcTimeout, key))
6089if (ReferenceEquals(HeaderNames.MaxForwards, key))
6100if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
6110if (HeaderNames.GrpcTimeout.Equals(key, StringComparison.OrdinalIgnoreCase))
6120if (HeaderNames.MaxForwards.Equals(key, StringComparison.OrdinalIgnoreCase))
6134if (ReferenceEquals(HeaderNames.Authorization, key))
6144if (ReferenceEquals(HeaderNames.CacheControl, key))
6154if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
6164if (ReferenceEquals(HeaderNames.IfNoneMatch, key))
6175if (HeaderNames.Authorization.Equals(key, StringComparison.OrdinalIgnoreCase))
6185if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
6195if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6205if (HeaderNames.IfNoneMatch.Equals(key, StringComparison.OrdinalIgnoreCase))
6219if (ReferenceEquals(HeaderNames.AcceptCharset, key))
6229if (ReferenceEquals(HeaderNames.ContentLength, key))
6239if (HeaderNames.AcceptCharset.Equals(key, StringComparison.OrdinalIgnoreCase))
6249if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
6262if (ReferenceEquals(HeaderNames.AcceptEncoding, key))
6272if (ReferenceEquals(HeaderNames.AcceptLanguage, key))
6283if (HeaderNames.AcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6293if (HeaderNames.AcceptLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
6307if (ReferenceEquals(HeaderNames.IfModifiedSince, key))
6317if (ReferenceEquals(HeaderNames.TransferEncoding, key))
6328if (HeaderNames.IfModifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
6338if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6352if (ReferenceEquals(HeaderNames.CorrelationContext, key))
6362if (ReferenceEquals(HeaderNames.IfUnmodifiedSince, key))
6372if (ReferenceEquals(HeaderNames.ProxyAuthorization, key))
6383if (HeaderNames.CorrelationContext.Equals(key, StringComparison.OrdinalIgnoreCase))
6393if (HeaderNames.IfUnmodifiedSince.Equals(key, StringComparison.OrdinalIgnoreCase))
6403if (HeaderNames.ProxyAuthorization.Equals(key, StringComparison.OrdinalIgnoreCase))
6417if (ReferenceEquals(HeaderNames.GrpcAcceptEncoding, key))
6428if (HeaderNames.GrpcAcceptEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
6442if (ReferenceEquals(HeaderNames.UpgradeInsecureRequests, key))
6453if (HeaderNames.UpgradeInsecureRequests.Equals(key, StringComparison.OrdinalIgnoreCase))
6467if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key))
6478if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase))
6492if (ReferenceEquals(HeaderNames.AccessControlRequestHeaders, key))
6503if (HeaderNames.AccessControlRequestHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
7028array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Accept, _headers._Accept);
7037array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Connection, _headers._Connection);
7046array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Host, _headers._Host);
7055array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.UserAgent, _headers._UserAgent);
7109array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AcceptCharset, _headers._AcceptCharset);
7118array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AcceptEncoding, _headers._AcceptEncoding);
7127array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AcceptLanguage, _headers._AcceptLanguage);
7136array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestHeaders, _headers._AccessControlRequestHeaders);
7145array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestMethod, _headers._AccessControlRequestMethod);
7163array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Authorization, _headers._Authorization);
7172array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Baggage, _headers._Baggage);
7181array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, _headers._CacheControl);
7190array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _headers._ContentType);
7199array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Cookie, _headers._Cookie);
7208array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.CorrelationContext, _headers._CorrelationContext);
7217array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Date, _headers._Date);
7226array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Expect, _headers._Expect);
7235array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.From, _headers._From);
7244array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcAcceptEncoding, _headers._GrpcAcceptEncoding);
7253array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcEncoding, _headers._GrpcEncoding);
7262array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcTimeout, _headers._GrpcTimeout);
7271array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.IfMatch, _headers._IfMatch);
7280array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.IfModifiedSince, _headers._IfModifiedSince);
7289array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.IfNoneMatch, _headers._IfNoneMatch);
7298array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.IfRange, _headers._IfRange);
7307array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.IfUnmodifiedSince, _headers._IfUnmodifiedSince);
7316array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, _headers._KeepAlive);
7325array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.MaxForwards, _headers._MaxForwards);
7334array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Origin, _headers._Origin);
7343array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _headers._Pragma);
7352array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthorization, _headers._ProxyAuthorization);
7361array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Range, _headers._Range);
7370array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Referer, _headers._Referer);
7379array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.RequestId, _headers._RequestId);
7388array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TE, _headers._TE);
7397array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TraceParent, _headers._TraceParent);
7406array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TraceState, _headers._TraceState);
7415array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _headers._TransferEncoding);
7424array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Translate, _headers._Translate);
7433array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, _headers._Upgrade);
7442array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.UpgradeInsecureRequests, _headers._UpgradeInsecureRequests);
7451array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Via, _headers._Via);
7460array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Warning, _headers._Warning);
7469array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value));
7529nameStr = HeaderNames.TE;
7537nameStr = HeaderNames.Via;
7546nameStr = HeaderNames.Host;
7552nameStr = HeaderNames.Date;
7558nameStr = HeaderNames.From;
7572nameStr = HeaderNames.Range;
7581nameStr = HeaderNames.Accept;
7587nameStr = HeaderNames.Cookie;
7593nameStr = HeaderNames.Expect;
7599nameStr = HeaderNames.Origin;
7605nameStr = HeaderNames.Pragma;
7625nameStr = HeaderNames.Baggage;
7631nameStr = HeaderNames.Referer;
7637nameStr = HeaderNames.Upgrade;
7643nameStr = HeaderNames.Warning;
7657nameStr = HeaderNames.IfMatch;
7663nameStr = HeaderNames.IfRange;
7677nameStr = HeaderNames.Translate;
7685nameStr = HeaderNames.Connection;
7691nameStr = HeaderNames.UserAgent;
7703nameStr = HeaderNames.KeepAlive;
7709nameStr = HeaderNames.RequestId;
7715nameStr = HeaderNames.TraceState;
7723nameStr = HeaderNames.TraceParent;
7731nameStr = HeaderNames.ContentType;
7737nameStr = HeaderNames.GrpcTimeout;
7743nameStr = HeaderNames.MaxForwards;
7751nameStr = HeaderNames.Authorization;
7757nameStr = HeaderNames.CacheControl;
7763nameStr = HeaderNames.GrpcEncoding;
7769nameStr = HeaderNames.IfNoneMatch;
7777nameStr = HeaderNames.AcceptCharset;
7782? null : EncodingSelector(HeaderNames.ContentLength);
7800nameStr = HeaderNames.AcceptEncoding;
7806nameStr = HeaderNames.AcceptLanguage;
7814nameStr = HeaderNames.IfModifiedSince;
7820nameStr = HeaderNames.TransferEncoding;
7828nameStr = HeaderNames.CorrelationContext;
7834nameStr = HeaderNames.IfUnmodifiedSince;
7840nameStr = HeaderNames.ProxyAuthorization;
7848nameStr = HeaderNames.GrpcAcceptEncoding;
7856nameStr = HeaderNames.UpgradeInsecureRequests;
7864nameStr = HeaderNames.AccessControlRequestMethod;
7872nameStr = HeaderNames.AccessControlRequestHeaders;
7962nameStr = HeaderNames.AcceptCharset;
7967nameStr = HeaderNames.AcceptEncoding;
7972nameStr = HeaderNames.AcceptLanguage;
7977nameStr = HeaderNames.Accept;
7982nameStr = HeaderNames.Authorization;
7987nameStr = HeaderNames.CacheControl;
7991? null : EncodingSelector(HeaderNames.ContentLength);
8004nameStr = HeaderNames.ContentType;
8009nameStr = HeaderNames.Cookie;
8014nameStr = HeaderNames.Date;
8019nameStr = HeaderNames.Expect;
8024nameStr = HeaderNames.From;
8029nameStr = HeaderNames.Host;
8034nameStr = HeaderNames.IfMatch;
8039nameStr = HeaderNames.IfModifiedSince;
8044nameStr = HeaderNames.IfNoneMatch;
8049nameStr = HeaderNames.IfRange;
8054nameStr = HeaderNames.IfUnmodifiedSince;
8059nameStr = HeaderNames.MaxForwards;
8064nameStr = HeaderNames.ProxyAuthorization;
8069nameStr = HeaderNames.Range;
8074nameStr = HeaderNames.Referer;
8079nameStr = HeaderNames.TransferEncoding;
8084nameStr = HeaderNames.UserAgent;
8089nameStr = HeaderNames.Via;
8160? null : EncodingSelector(HeaderNames.ContentLength);
8173nameStr = HeaderNames.Cookie;
8178nameStr = HeaderNames.Date;
8183nameStr = HeaderNames.IfModifiedSince;
8188nameStr = HeaderNames.IfNoneMatch;
8193nameStr = HeaderNames.Referer;
8216nameStr = HeaderNames.Accept;
8221nameStr = HeaderNames.AcceptEncoding;
8231nameStr = HeaderNames.CacheControl;
8246nameStr = HeaderNames.ContentType;
8251nameStr = HeaderNames.Range;
8256nameStr = HeaderNames.AcceptLanguage;
8261nameStr = HeaderNames.AccessControlRequestHeaders;
8267nameStr = HeaderNames.AccessControlRequestMethod;
8272nameStr = HeaderNames.Authorization;
8277nameStr = HeaderNames.IfRange;
8282nameStr = HeaderNames.Origin;
8287nameStr = HeaderNames.UpgradeInsecureRequests;
8292nameStr = HeaderNames.UserAgent;
8404_current = new KeyValuePair<string, StringValues>(HeaderNames.Accept, _collection._headers._Accept);
8409_current = new KeyValuePair<string, StringValues>(HeaderNames.Connection, _collection._headers._Connection);
8414_current = new KeyValuePair<string, StringValues>(HeaderNames.Host, _collection._headers._Host);
8419_current = new KeyValuePair<string, StringValues>(HeaderNames.UserAgent, _collection._headers._UserAgent);
8449_current = new KeyValuePair<string, StringValues>(HeaderNames.AcceptCharset, _collection._headers._AcceptCharset);
8454_current = new KeyValuePair<string, StringValues>(HeaderNames.AcceptEncoding, _collection._headers._AcceptEncoding);
8459_current = new KeyValuePair<string, StringValues>(HeaderNames.AcceptLanguage, _collection._headers._AcceptLanguage);
8464_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestHeaders, _collection._headers._AccessControlRequestHeaders);
8469_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestMethod, _collection._headers._AccessControlRequestMethod);
8479_current = new KeyValuePair<string, StringValues>(HeaderNames.Authorization, _collection._headers._Authorization);
8484_current = new KeyValuePair<string, StringValues>(HeaderNames.Baggage, _collection._headers._Baggage);
8489_current = new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, _collection._headers._CacheControl);
8494_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _collection._headers._ContentType);
8499_current = new KeyValuePair<string, StringValues>(HeaderNames.Cookie, _collection._headers._Cookie);
8504_current = new KeyValuePair<string, StringValues>(HeaderNames.CorrelationContext, _collection._headers._CorrelationContext);
8509_current = new KeyValuePair<string, StringValues>(HeaderNames.Date, _collection._headers._Date);
8514_current = new KeyValuePair<string, StringValues>(HeaderNames.Expect, _collection._headers._Expect);
8519_current = new KeyValuePair<string, StringValues>(HeaderNames.From, _collection._headers._From);
8524_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcAcceptEncoding, _collection._headers._GrpcAcceptEncoding);
8529_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcEncoding, _collection._headers._GrpcEncoding);
8534_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcTimeout, _collection._headers._GrpcTimeout);
8539_current = new KeyValuePair<string, StringValues>(HeaderNames.IfMatch, _collection._headers._IfMatch);
8544_current = new KeyValuePair<string, StringValues>(HeaderNames.IfModifiedSince, _collection._headers._IfModifiedSince);
8549_current = new KeyValuePair<string, StringValues>(HeaderNames.IfNoneMatch, _collection._headers._IfNoneMatch);
8554_current = new KeyValuePair<string, StringValues>(HeaderNames.IfRange, _collection._headers._IfRange);
8559_current = new KeyValuePair<string, StringValues>(HeaderNames.IfUnmodifiedSince, _collection._headers._IfUnmodifiedSince);
8564_current = new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, _collection._headers._KeepAlive);
8569_current = new KeyValuePair<string, StringValues>(HeaderNames.MaxForwards, _collection._headers._MaxForwards);
8574_current = new KeyValuePair<string, StringValues>(HeaderNames.Origin, _collection._headers._Origin);
8579_current = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _collection._headers._Pragma);
8584_current = new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthorization, _collection._headers._ProxyAuthorization);
8589_current = new KeyValuePair<string, StringValues>(HeaderNames.Range, _collection._headers._Range);
8594_current = new KeyValuePair<string, StringValues>(HeaderNames.Referer, _collection._headers._Referer);
8599_current = new KeyValuePair<string, StringValues>(HeaderNames.RequestId, _collection._headers._RequestId);
8604_current = new KeyValuePair<string, StringValues>(HeaderNames.TE, _collection._headers._TE);
8609_current = new KeyValuePair<string, StringValues>(HeaderNames.TraceParent, _collection._headers._TraceParent);
8614_current = new KeyValuePair<string, StringValues>(HeaderNames.TraceState, _collection._headers._TraceState);
8619_current = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _collection._headers._TransferEncoding);
8624_current = new KeyValuePair<string, StringValues>(HeaderNames.Translate, _collection._headers._Translate);
8629_current = new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, _collection._headers._Upgrade);
8634_current = new KeyValuePair<string, StringValues>(HeaderNames.UpgradeInsecureRequests, _collection._headers._UpgradeInsecureRequests);
8639_current = new KeyValuePair<string, StringValues>(HeaderNames.Via, _collection._headers._Via);
8644_current = new KeyValuePair<string, StringValues>(HeaderNames.Warning, _collection._headers._Warning);
8649_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection._contentLength.GetValueOrDefault()));
8831ValidateHeaderValueCharacters(HeaderNames.Connection, value, EncodingSelector);
8861ValidateHeaderValueCharacters(HeaderNames.ContentType, value, EncodingSelector);
8890ValidateHeaderValueCharacters(HeaderNames.Date, value, EncodingSelector);
8920ValidateHeaderValueCharacters(HeaderNames.Server, value, EncodingSelector);
8950ValidateHeaderValueCharacters(HeaderNames.AcceptRanges, value, EncodingSelector);
8979ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowCredentials, value, EncodingSelector);
9008ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowHeaders, value, EncodingSelector);
9037ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowMethods, value, EncodingSelector);
9066ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowOrigin, value, EncodingSelector);
9095ValidateHeaderValueCharacters(HeaderNames.AccessControlExposeHeaders, value, EncodingSelector);
9124ValidateHeaderValueCharacters(HeaderNames.AccessControlMaxAge, value, EncodingSelector);
9153ValidateHeaderValueCharacters(HeaderNames.Age, value, EncodingSelector);
9182ValidateHeaderValueCharacters(HeaderNames.Allow, value, EncodingSelector);
9211ValidateHeaderValueCharacters(HeaderNames.AltSvc, value, EncodingSelector);
9241ValidateHeaderValueCharacters(HeaderNames.CacheControl, value, EncodingSelector);
9270ValidateHeaderValueCharacters(HeaderNames.ContentEncoding, value, EncodingSelector);
9299ValidateHeaderValueCharacters(HeaderNames.ContentLanguage, value, EncodingSelector);
9328ValidateHeaderValueCharacters(HeaderNames.ContentLocation, value, EncodingSelector);
9357ValidateHeaderValueCharacters(HeaderNames.ContentMD5, value, EncodingSelector);
9386ValidateHeaderValueCharacters(HeaderNames.ContentRange, value, EncodingSelector);
9415ValidateHeaderValueCharacters(HeaderNames.ETag, value, EncodingSelector);
9444ValidateHeaderValueCharacters(HeaderNames.Expires, value, EncodingSelector);
9473ValidateHeaderValueCharacters(HeaderNames.GrpcEncoding, value, EncodingSelector);
9502ValidateHeaderValueCharacters(HeaderNames.KeepAlive, value, EncodingSelector);
9531ValidateHeaderValueCharacters(HeaderNames.LastModified, value, EncodingSelector);
9560ValidateHeaderValueCharacters(HeaderNames.Location, value, EncodingSelector);
9589ValidateHeaderValueCharacters(HeaderNames.Pragma, value, EncodingSelector);
9618ValidateHeaderValueCharacters(HeaderNames.ProxyAuthenticate, value, EncodingSelector);
9647ValidateHeaderValueCharacters(HeaderNames.ProxyConnection, value, EncodingSelector);
9676ValidateHeaderValueCharacters(HeaderNames.RetryAfter, value, EncodingSelector);
9705ValidateHeaderValueCharacters(HeaderNames.SetCookie, value, EncodingSelector);
9734ValidateHeaderValueCharacters(HeaderNames.Trailer, value, EncodingSelector);
9763ValidateHeaderValueCharacters(HeaderNames.TransferEncoding, value, EncodingSelector);
9793ValidateHeaderValueCharacters(HeaderNames.Upgrade, value, EncodingSelector);
9822ValidateHeaderValueCharacters(HeaderNames.Vary, value, EncodingSelector);
9851ValidateHeaderValueCharacters(HeaderNames.Via, value, EncodingSelector);
9880ValidateHeaderValueCharacters(HeaderNames.Warning, value, EncodingSelector);
9909ValidateHeaderValueCharacters(HeaderNames.WWWAuthenticate, value, EncodingSelector);
9926if (!TryGetUnknown(HeaderNames.Accept, ref value))
9935ValidateHeaderValueCharacters(HeaderNames.Accept, value, EncodingSelector);
9936SetValueUnknown(HeaderNames.Accept, value);
9944if (!TryGetUnknown(HeaderNames.AcceptCharset, ref value))
9953ValidateHeaderValueCharacters(HeaderNames.AcceptCharset, value, EncodingSelector);
9954SetValueUnknown(HeaderNames.AcceptCharset, value);
9962if (!TryGetUnknown(HeaderNames.AcceptEncoding, ref value))
9971ValidateHeaderValueCharacters(HeaderNames.AcceptEncoding, value, EncodingSelector);
9972SetValueUnknown(HeaderNames.AcceptEncoding, value);
9980if (!TryGetUnknown(HeaderNames.AcceptLanguage, ref value))
9989ValidateHeaderValueCharacters(HeaderNames.AcceptLanguage, value, EncodingSelector);
9990SetValueUnknown(HeaderNames.AcceptLanguage, value);
9998if (!TryGetUnknown(HeaderNames.AccessControlRequestHeaders, ref value))
10007ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestHeaders, value, EncodingSelector);
10008SetValueUnknown(HeaderNames.AccessControlRequestHeaders, value);
10016if (!TryGetUnknown(HeaderNames.AccessControlRequestMethod, ref value))
10025ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestMethod, value, EncodingSelector);
10026SetValueUnknown(HeaderNames.AccessControlRequestMethod, value);
10034if (!TryGetUnknown(HeaderNames.Authorization, ref value))
10043ValidateHeaderValueCharacters(HeaderNames.Authorization, value, EncodingSelector);
10044SetValueUnknown(HeaderNames.Authorization, value);
10052if (!TryGetUnknown(HeaderNames.Baggage, ref value))
10061ValidateHeaderValueCharacters(HeaderNames.Baggage, value, EncodingSelector);
10062SetValueUnknown(HeaderNames.Baggage, value);
10070if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value))
10079ValidateHeaderValueCharacters(HeaderNames.ContentDisposition, value, EncodingSelector);
10080SetValueUnknown(HeaderNames.ContentDisposition, value);
10088if (!TryGetUnknown(HeaderNames.ContentSecurityPolicy, ref value))
10097ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicy, value, EncodingSelector);
10098SetValueUnknown(HeaderNames.ContentSecurityPolicy, value);
10106if (!TryGetUnknown(HeaderNames.ContentSecurityPolicyReportOnly, ref value))
10115ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicyReportOnly, value, EncodingSelector);
10116SetValueUnknown(HeaderNames.ContentSecurityPolicyReportOnly, value);
10124if (!TryGetUnknown(HeaderNames.CorrelationContext, ref value))
10133ValidateHeaderValueCharacters(HeaderNames.CorrelationContext, value, EncodingSelector);
10134SetValueUnknown(HeaderNames.CorrelationContext, value);
10142if (!TryGetUnknown(HeaderNames.Cookie, ref value))
10151ValidateHeaderValueCharacters(HeaderNames.Cookie, value, EncodingSelector);
10152SetValueUnknown(HeaderNames.Cookie, value);
10160if (!TryGetUnknown(HeaderNames.Expect, ref value))
10169ValidateHeaderValueCharacters(HeaderNames.Expect, value, EncodingSelector);
10170SetValueUnknown(HeaderNames.Expect, value);
10178if (!TryGetUnknown(HeaderNames.From, ref value))
10187ValidateHeaderValueCharacters(HeaderNames.From, value, EncodingSelector);
10188SetValueUnknown(HeaderNames.From, value);
10196if (!TryGetUnknown(HeaderNames.GrpcAcceptEncoding, ref value))
10205ValidateHeaderValueCharacters(HeaderNames.GrpcAcceptEncoding, value, EncodingSelector);
10206SetValueUnknown(HeaderNames.GrpcAcceptEncoding, value);
10214if (!TryGetUnknown(HeaderNames.GrpcMessage, ref value))
10223ValidateHeaderValueCharacters(HeaderNames.GrpcMessage, value, EncodingSelector);
10224SetValueUnknown(HeaderNames.GrpcMessage, value);
10232if (!TryGetUnknown(HeaderNames.GrpcStatus, ref value))
10241ValidateHeaderValueCharacters(HeaderNames.GrpcStatus, value, EncodingSelector);
10242SetValueUnknown(HeaderNames.GrpcStatus, value);
10250if (!TryGetUnknown(HeaderNames.GrpcTimeout, ref value))
10259ValidateHeaderValueCharacters(HeaderNames.GrpcTimeout, value, EncodingSelector);
10260SetValueUnknown(HeaderNames.GrpcTimeout, value);
10268if (!TryGetUnknown(HeaderNames.Host, ref value))
10277ValidateHeaderValueCharacters(HeaderNames.Host, value, EncodingSelector);
10278SetValueUnknown(HeaderNames.Host, value);
10286if (!TryGetUnknown(HeaderNames.IfMatch, ref value))
10295ValidateHeaderValueCharacters(HeaderNames.IfMatch, value, EncodingSelector);
10296SetValueUnknown(HeaderNames.IfMatch, value);
10304if (!TryGetUnknown(HeaderNames.IfModifiedSince, ref value))
10313ValidateHeaderValueCharacters(HeaderNames.IfModifiedSince, value, EncodingSelector);
10314SetValueUnknown(HeaderNames.IfModifiedSince, value);
10322if (!TryGetUnknown(HeaderNames.IfNoneMatch, ref value))
10331ValidateHeaderValueCharacters(HeaderNames.IfNoneMatch, value, EncodingSelector);
10332SetValueUnknown(HeaderNames.IfNoneMatch, value);
10340if (!TryGetUnknown(HeaderNames.IfRange, ref value))
10349ValidateHeaderValueCharacters(HeaderNames.IfRange, value, EncodingSelector);
10350SetValueUnknown(HeaderNames.IfRange, value);
10358if (!TryGetUnknown(HeaderNames.IfUnmodifiedSince, ref value))
10367ValidateHeaderValueCharacters(HeaderNames.IfUnmodifiedSince, value, EncodingSelector);
10368SetValueUnknown(HeaderNames.IfUnmodifiedSince, value);
10376if (!TryGetUnknown(HeaderNames.Link, ref value))
10385ValidateHeaderValueCharacters(HeaderNames.Link, value, EncodingSelector);
10386SetValueUnknown(HeaderNames.Link, value);
10394if (!TryGetUnknown(HeaderNames.MaxForwards, ref value))
10403ValidateHeaderValueCharacters(HeaderNames.MaxForwards, value, EncodingSelector);
10404SetValueUnknown(HeaderNames.MaxForwards, value);
10412if (!TryGetUnknown(HeaderNames.Origin, ref value))
10421ValidateHeaderValueCharacters(HeaderNames.Origin, value, EncodingSelector);
10422SetValueUnknown(HeaderNames.Origin, value);
10430if (!TryGetUnknown(HeaderNames.ProxyAuthorization, ref value))
10439ValidateHeaderValueCharacters(HeaderNames.ProxyAuthorization, value, EncodingSelector);
10440SetValueUnknown(HeaderNames.ProxyAuthorization, value);
10448if (!TryGetUnknown(HeaderNames.Range, ref value))
10457ValidateHeaderValueCharacters(HeaderNames.Range, value, EncodingSelector);
10458SetValueUnknown(HeaderNames.Range, value);
10466if (!TryGetUnknown(HeaderNames.Referer, ref value))
10475ValidateHeaderValueCharacters(HeaderNames.Referer, value, EncodingSelector);
10476SetValueUnknown(HeaderNames.Referer, value);
10484if (!TryGetUnknown(HeaderNames.RequestId, ref value))
10493ValidateHeaderValueCharacters(HeaderNames.RequestId, value, EncodingSelector);
10494SetValueUnknown(HeaderNames.RequestId, value);
10502if (!TryGetUnknown(HeaderNames.SecWebSocketAccept, ref value))
10511ValidateHeaderValueCharacters(HeaderNames.SecWebSocketAccept, value, EncodingSelector);
10512SetValueUnknown(HeaderNames.SecWebSocketAccept, value);
10520if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value))
10529ValidateHeaderValueCharacters(HeaderNames.SecWebSocketKey, value, EncodingSelector);
10530SetValueUnknown(HeaderNames.SecWebSocketKey, value);
10538if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value))
10547ValidateHeaderValueCharacters(HeaderNames.SecWebSocketProtocol, value, EncodingSelector);
10548SetValueUnknown(HeaderNames.SecWebSocketProtocol, value);
10556if (!TryGetUnknown(HeaderNames.SecWebSocketVersion, ref value))
10565ValidateHeaderValueCharacters(HeaderNames.SecWebSocketVersion, value, EncodingSelector);
10566SetValueUnknown(HeaderNames.SecWebSocketVersion, value);
10574if (!TryGetUnknown(HeaderNames.SecWebSocketExtensions, ref value))
10583ValidateHeaderValueCharacters(HeaderNames.SecWebSocketExtensions, value, EncodingSelector);
10584SetValueUnknown(HeaderNames.SecWebSocketExtensions, value);
10592if (!TryGetUnknown(HeaderNames.StrictTransportSecurity, ref value))
10601ValidateHeaderValueCharacters(HeaderNames.StrictTransportSecurity, value, EncodingSelector);
10602SetValueUnknown(HeaderNames.StrictTransportSecurity, value);
10610if (!TryGetUnknown(HeaderNames.TE, ref value))
10619ValidateHeaderValueCharacters(HeaderNames.TE, value, EncodingSelector);
10620SetValueUnknown(HeaderNames.TE, value);
10628if (!TryGetUnknown(HeaderNames.Translate, ref value))
10637ValidateHeaderValueCharacters(HeaderNames.Translate, value, EncodingSelector);
10638SetValueUnknown(HeaderNames.Translate, value);
10646if (!TryGetUnknown(HeaderNames.TraceParent, ref value))
10655ValidateHeaderValueCharacters(HeaderNames.TraceParent, value, EncodingSelector);
10656SetValueUnknown(HeaderNames.TraceParent, value);
10664if (!TryGetUnknown(HeaderNames.TraceState, ref value))
10673ValidateHeaderValueCharacters(HeaderNames.TraceState, value, EncodingSelector);
10674SetValueUnknown(HeaderNames.TraceState, value);
10682if (!TryGetUnknown(HeaderNames.UpgradeInsecureRequests, ref value))
10691ValidateHeaderValueCharacters(HeaderNames.UpgradeInsecureRequests, value, EncodingSelector);
10692SetValueUnknown(HeaderNames.UpgradeInsecureRequests, value);
10700if (!TryGetUnknown(HeaderNames.UserAgent, ref value))
10709ValidateHeaderValueCharacters(HeaderNames.UserAgent, value, EncodingSelector);
10710SetValueUnknown(HeaderNames.UserAgent, value);
10718if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value))
10727ValidateHeaderValueCharacters(HeaderNames.WebSocketSubProtocols, value, EncodingSelector);
10728SetValueUnknown(HeaderNames.WebSocketSubProtocols, value);
10736if (!TryGetUnknown(HeaderNames.XContentTypeOptions, ref value))
10745ValidateHeaderValueCharacters(HeaderNames.XContentTypeOptions, value, EncodingSelector);
10746SetValueUnknown(HeaderNames.XContentTypeOptions, value);
10754if (!TryGetUnknown(HeaderNames.XFrameOptions, ref value))
10763ValidateHeaderValueCharacters(HeaderNames.XFrameOptions, value, EncodingSelector);
10764SetValueUnknown(HeaderNames.XFrameOptions, value);
10772if (!TryGetUnknown(HeaderNames.XPoweredBy, ref value))
10781ValidateHeaderValueCharacters(HeaderNames.XPoweredBy, value, EncodingSelector);
10782SetValueUnknown(HeaderNames.XPoweredBy, value);
10790if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value))
10799ValidateHeaderValueCharacters(HeaderNames.XRequestedWith, value, EncodingSelector);
10800SetValueUnknown(HeaderNames.XRequestedWith, value);
10808if (!TryGetUnknown(HeaderNames.XUACompatible, ref value))
10817ValidateHeaderValueCharacters(HeaderNames.XUACompatible, value, EncodingSelector);
10818SetValueUnknown(HeaderNames.XUACompatible, value);
10826if (!TryGetUnknown(HeaderNames.XXSSProtection, ref value))
10835ValidateHeaderValueCharacters(HeaderNames.XXSSProtection, value, EncodingSelector);
10836SetValueUnknown(HeaderNames.XXSSProtection, value);
10882if (ReferenceEquals(HeaderNames.Age, key))
10891if (ReferenceEquals(HeaderNames.Via, key))
10901if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
10910if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
10923if (ReferenceEquals(HeaderNames.Date, key))
10932if (ReferenceEquals(HeaderNames.ETag, key))
10941if (ReferenceEquals(HeaderNames.Vary, key))
10951if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
10960if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
10969if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
10982if (ReferenceEquals(HeaderNames.Allow, key))
10992if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
11005if (ReferenceEquals(HeaderNames.Server, key))
11014if (ReferenceEquals(HeaderNames.Pragma, key))
11024if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
11033if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
11046if (ReferenceEquals(HeaderNames.AltSvc, key))
11055if (ReferenceEquals(HeaderNames.Expires, key))
11064if (ReferenceEquals(HeaderNames.Trailer, key))
11073if (ReferenceEquals(HeaderNames.Upgrade, key))
11082if (ReferenceEquals(HeaderNames.Warning, key))
11092if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
11101if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
11110if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
11119if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
11128if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
11141if (ReferenceEquals(HeaderNames.Location, key))
11151if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
11164if (ReferenceEquals(HeaderNames.Connection, key))
11173if (ReferenceEquals(HeaderNames.KeepAlive, key))
11182if (ReferenceEquals(HeaderNames.SetCookie, key))
11192if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
11201if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
11210if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
11223if (ReferenceEquals(HeaderNames.ContentMD5, key))
11232if (ReferenceEquals(HeaderNames.RetryAfter, key))
11242if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
11251if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
11264if (ReferenceEquals(HeaderNames.ContentType, key))
11274if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
11287if (ReferenceEquals(HeaderNames.AcceptRanges, key))
11296if (ReferenceEquals(HeaderNames.CacheControl, key))
11305if (ReferenceEquals(HeaderNames.ContentRange, key))
11314if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
11323if (ReferenceEquals(HeaderNames.LastModified, key))
11333if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
11342if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
11351if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
11360if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11369if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
11382if (ReferenceEquals(HeaderNames.ContentLength, key))
11392if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
11405if (ReferenceEquals(HeaderNames.ContentEncoding, key))
11414if (ReferenceEquals(HeaderNames.ContentLanguage, key))
11423if (ReferenceEquals(HeaderNames.ContentLocation, key))
11432if (ReferenceEquals(HeaderNames.ProxyConnection, key))
11441if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
11451if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11460if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
11469if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
11478if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
11487if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
11500if (ReferenceEquals(HeaderNames.TransferEncoding, key))
11510if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
11523if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
11533if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
11546if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
11556if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
11569if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
11579if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
11592if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
11601if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
11611if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
11620if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
11633if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
11643if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
11656if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
11666if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
11689if (ReferenceEquals(HeaderNames.Age, key))
11695if (ReferenceEquals(HeaderNames.Via, key))
11702if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
11708if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
11718if (ReferenceEquals(HeaderNames.Date, key))
11725if (ReferenceEquals(HeaderNames.ETag, key))
11731if (ReferenceEquals(HeaderNames.Vary, key))
11738if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
11745if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
11751if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
11761if (ReferenceEquals(HeaderNames.Allow, key))
11768if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
11778if (ReferenceEquals(HeaderNames.Server, key))
11785if (ReferenceEquals(HeaderNames.Pragma, key))
11792if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
11799if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
11809if (ReferenceEquals(HeaderNames.AltSvc, key))
11816if (ReferenceEquals(HeaderNames.Expires, key))
11822if (ReferenceEquals(HeaderNames.Trailer, key))
11828if (ReferenceEquals(HeaderNames.Upgrade, key))
11834if (ReferenceEquals(HeaderNames.Warning, key))
11841if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
11848if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
11854if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
11860if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
11866if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
11876if (ReferenceEquals(HeaderNames.Location, key))
11883if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
11893if (ReferenceEquals(HeaderNames.Connection, key))
11900if (ReferenceEquals(HeaderNames.KeepAlive, key))
11906if (ReferenceEquals(HeaderNames.SetCookie, key))
11913if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
11920if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
11926if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
11936if (ReferenceEquals(HeaderNames.ContentMD5, key))
11942if (ReferenceEquals(HeaderNames.RetryAfter, key))
11949if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
11955if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
11965if (ReferenceEquals(HeaderNames.ContentType, key))
11972if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
11982if (ReferenceEquals(HeaderNames.AcceptRanges, key))
11988if (ReferenceEquals(HeaderNames.CacheControl, key))
11994if (ReferenceEquals(HeaderNames.ContentRange, key))
12000if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
12006if (ReferenceEquals(HeaderNames.LastModified, key))
12013if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
12019if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
12025if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
12031if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12037if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
12047if (ReferenceEquals(HeaderNames.ContentLength, key))
12053if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
12062if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12068if (ReferenceEquals(HeaderNames.ContentLanguage, key))
12074if (ReferenceEquals(HeaderNames.ContentLocation, key))
12080if (ReferenceEquals(HeaderNames.ProxyConnection, key))
12086if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
12093if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12099if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
12105if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
12111if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
12117if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12127if (ReferenceEquals(HeaderNames.TransferEncoding, key))
12135if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12146if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
12153if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12163if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
12170if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
12180if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
12187if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
12197if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
12203if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
12210if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
12216if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
12226if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
12233if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
12243if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
12250if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
12270if (ReferenceEquals(HeaderNames.Age, key))
12280if (ReferenceEquals(HeaderNames.Via, key))
12291if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
12301if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
12315if (ReferenceEquals(HeaderNames.Date, key))
12326if (ReferenceEquals(HeaderNames.ETag, key))
12336if (ReferenceEquals(HeaderNames.Vary, key))
12347if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
12358if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
12368if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
12382if (ReferenceEquals(HeaderNames.Allow, key))
12393if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
12407if (ReferenceEquals(HeaderNames.Server, key))
12418if (ReferenceEquals(HeaderNames.Pragma, key))
12429if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
12440if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
12454if (ReferenceEquals(HeaderNames.AltSvc, key))
12465if (ReferenceEquals(HeaderNames.Expires, key))
12475if (ReferenceEquals(HeaderNames.Trailer, key))
12485if (ReferenceEquals(HeaderNames.Upgrade, key))
12495if (ReferenceEquals(HeaderNames.Warning, key))
12506if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
12517if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
12527if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
12537if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
12547if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
12561if (ReferenceEquals(HeaderNames.Location, key))
12572if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
12586if (ReferenceEquals(HeaderNames.Connection, key))
12597if (ReferenceEquals(HeaderNames.KeepAlive, key))
12607if (ReferenceEquals(HeaderNames.SetCookie, key))
12618if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
12629if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
12639if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
12653if (ReferenceEquals(HeaderNames.ContentMD5, key))
12663if (ReferenceEquals(HeaderNames.RetryAfter, key))
12674if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
12684if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
12698if (ReferenceEquals(HeaderNames.ContentType, key))
12709if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
12723if (ReferenceEquals(HeaderNames.AcceptRanges, key))
12733if (ReferenceEquals(HeaderNames.CacheControl, key))
12743if (ReferenceEquals(HeaderNames.ContentRange, key))
12753if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
12763if (ReferenceEquals(HeaderNames.LastModified, key))
12774if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
12784if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
12794if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
12804if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12814if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
12828if (ReferenceEquals(HeaderNames.ContentLength, key))
12838if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
12851if (ReferenceEquals(HeaderNames.ContentEncoding, key))
12861if (ReferenceEquals(HeaderNames.ContentLanguage, key))
12871if (ReferenceEquals(HeaderNames.ContentLocation, key))
12881if (ReferenceEquals(HeaderNames.ProxyConnection, key))
12891if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
12902if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12912if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
12922if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
12932if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
12942if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
12956if (ReferenceEquals(HeaderNames.TransferEncoding, key))
12968if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
12983if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
12994if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13008if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
13019if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
13033if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
13044if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
13058if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
13068if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
13079if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13089if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
13103if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
13114if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13128if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
13139if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
13162if (ReferenceEquals(HeaderNames.Age, key))
13172if (ReferenceEquals(HeaderNames.Via, key))
13183if (HeaderNames.Age.Equals(key, StringComparison.OrdinalIgnoreCase))
13193if (HeaderNames.Via.Equals(key, StringComparison.OrdinalIgnoreCase))
13207if (ReferenceEquals(HeaderNames.Date, key))
13218if (ReferenceEquals(HeaderNames.ETag, key))
13228if (ReferenceEquals(HeaderNames.Vary, key))
13239if (HeaderNames.Date.Equals(key, StringComparison.OrdinalIgnoreCase))
13250if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
13260if (HeaderNames.Vary.Equals(key, StringComparison.OrdinalIgnoreCase))
13274if (ReferenceEquals(HeaderNames.Allow, key))
13285if (HeaderNames.Allow.Equals(key, StringComparison.OrdinalIgnoreCase))
13299if (ReferenceEquals(HeaderNames.Server, key))
13310if (ReferenceEquals(HeaderNames.Pragma, key))
13321if (HeaderNames.Server.Equals(key, StringComparison.OrdinalIgnoreCase))
13332if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase))
13346if (ReferenceEquals(HeaderNames.AltSvc, key))
13357if (ReferenceEquals(HeaderNames.Expires, key))
13367if (ReferenceEquals(HeaderNames.Trailer, key))
13377if (ReferenceEquals(HeaderNames.Upgrade, key))
13387if (ReferenceEquals(HeaderNames.Warning, key))
13398if (HeaderNames.AltSvc.Equals(key, StringComparison.OrdinalIgnoreCase))
13409if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase))
13419if (HeaderNames.Trailer.Equals(key, StringComparison.OrdinalIgnoreCase))
13429if (HeaderNames.Upgrade.Equals(key, StringComparison.OrdinalIgnoreCase))
13439if (HeaderNames.Warning.Equals(key, StringComparison.OrdinalIgnoreCase))
13453if (ReferenceEquals(HeaderNames.Location, key))
13464if (HeaderNames.Location.Equals(key, StringComparison.OrdinalIgnoreCase))
13478if (ReferenceEquals(HeaderNames.Connection, key))
13489if (ReferenceEquals(HeaderNames.KeepAlive, key))
13499if (ReferenceEquals(HeaderNames.SetCookie, key))
13510if (HeaderNames.Connection.Equals(key, StringComparison.OrdinalIgnoreCase))
13521if (HeaderNames.KeepAlive.Equals(key, StringComparison.OrdinalIgnoreCase))
13531if (HeaderNames.SetCookie.Equals(key, StringComparison.OrdinalIgnoreCase))
13545if (ReferenceEquals(HeaderNames.ContentMD5, key))
13555if (ReferenceEquals(HeaderNames.RetryAfter, key))
13566if (HeaderNames.ContentMD5.Equals(key, StringComparison.OrdinalIgnoreCase))
13576if (HeaderNames.RetryAfter.Equals(key, StringComparison.OrdinalIgnoreCase))
13590if (ReferenceEquals(HeaderNames.ContentType, key))
13601if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
13615if (ReferenceEquals(HeaderNames.AcceptRanges, key))
13625if (ReferenceEquals(HeaderNames.CacheControl, key))
13635if (ReferenceEquals(HeaderNames.ContentRange, key))
13645if (ReferenceEquals(HeaderNames.GrpcEncoding, key))
13655if (ReferenceEquals(HeaderNames.LastModified, key))
13666if (HeaderNames.AcceptRanges.Equals(key, StringComparison.OrdinalIgnoreCase))
13676if (HeaderNames.CacheControl.Equals(key, StringComparison.OrdinalIgnoreCase))
13686if (HeaderNames.ContentRange.Equals(key, StringComparison.OrdinalIgnoreCase))
13696if (HeaderNames.GrpcEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13706if (HeaderNames.LastModified.Equals(key, StringComparison.OrdinalIgnoreCase))
13720if (ReferenceEquals(HeaderNames.ContentLength, key))
13730if (HeaderNames.ContentLength.Equals(key, StringComparison.OrdinalIgnoreCase))
13743if (ReferenceEquals(HeaderNames.ContentEncoding, key))
13753if (ReferenceEquals(HeaderNames.ContentLanguage, key))
13763if (ReferenceEquals(HeaderNames.ContentLocation, key))
13773if (ReferenceEquals(HeaderNames.ProxyConnection, key))
13783if (ReferenceEquals(HeaderNames.WWWAuthenticate, key))
13794if (HeaderNames.ContentEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13804if (HeaderNames.ContentLanguage.Equals(key, StringComparison.OrdinalIgnoreCase))
13814if (HeaderNames.ContentLocation.Equals(key, StringComparison.OrdinalIgnoreCase))
13824if (HeaderNames.ProxyConnection.Equals(key, StringComparison.OrdinalIgnoreCase))
13834if (HeaderNames.WWWAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13848if (ReferenceEquals(HeaderNames.TransferEncoding, key))
13860if (HeaderNames.TransferEncoding.Equals(key, StringComparison.OrdinalIgnoreCase))
13875if (ReferenceEquals(HeaderNames.ProxyAuthenticate, key))
13886if (HeaderNames.ProxyAuthenticate.Equals(key, StringComparison.OrdinalIgnoreCase))
13900if (ReferenceEquals(HeaderNames.AccessControlMaxAge, key))
13911if (HeaderNames.AccessControlMaxAge.Equals(key, StringComparison.OrdinalIgnoreCase))
13925if (ReferenceEquals(HeaderNames.AccessControlAllowOrigin, key))
13936if (HeaderNames.AccessControlAllowOrigin.Equals(key, StringComparison.OrdinalIgnoreCase))
13950if (ReferenceEquals(HeaderNames.AccessControlAllowHeaders, key))
13960if (ReferenceEquals(HeaderNames.AccessControlAllowMethods, key))
13971if (HeaderNames.AccessControlAllowHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
13981if (HeaderNames.AccessControlAllowMethods.Equals(key, StringComparison.OrdinalIgnoreCase))
13995if (ReferenceEquals(HeaderNames.AccessControlExposeHeaders, key))
14006if (HeaderNames.AccessControlExposeHeaders.Equals(key, StringComparison.OrdinalIgnoreCase))
14020if (ReferenceEquals(HeaderNames.AccessControlAllowCredentials, key))
14031if (HeaderNames.AccessControlAllowCredentials.Equals(key, StringComparison.OrdinalIgnoreCase))
14454array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Connection, _headers._Connection);
14463array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _headers._ContentType);
14472array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Date, _headers._Date);
14481array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Server, _headers._Server);
14490array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AcceptRanges, _headers._AcceptRanges);
14499array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowCredentials, _headers._AccessControlAllowCredentials);
14508array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowHeaders, _headers._AccessControlAllowHeaders);
14517array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowMethods, _headers._AccessControlAllowMethods);
14526array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowOrigin, _headers._AccessControlAllowOrigin);
14535array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlExposeHeaders, _headers._AccessControlExposeHeaders);
14544array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlMaxAge, _headers._AccessControlMaxAge);
14553array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Age, _headers._Age);
14562array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Allow, _headers._Allow);
14571array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AltSvc, _headers._AltSvc);
14580array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, _headers._CacheControl);
14589array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, _headers._ContentEncoding);
14598array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLanguage, _headers._ContentLanguage);
14607array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLocation, _headers._ContentLocation);
14616array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentMD5, _headers._ContentMD5);
14625array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentRange, _headers._ContentRange);
14634array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ETag, _headers._ETag);
14643array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Expires, _headers._Expires);
14652array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcEncoding, _headers._GrpcEncoding);
14661array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, _headers._KeepAlive);
14670array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.LastModified, _headers._LastModified);
14679array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Location, _headers._Location);
14688array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _headers._Pragma);
14697array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthenticate, _headers._ProxyAuthenticate);
14706array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ProxyConnection, _headers._ProxyConnection);
14715array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.RetryAfter, _headers._RetryAfter);
14724array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.SetCookie, _headers._SetCookie);
14733array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Trailer, _headers._Trailer);
14742array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _headers._TransferEncoding);
14751array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, _headers._Upgrade);
14760array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Vary, _headers._Vary);
14769array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Via, _headers._Via);
14778array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Warning, _headers._Warning);
14787array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.WWWAuthenticate, _headers._WWWAuthenticate);
14796array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value));
14849headerName = HeaderNames.Connection;
14875headerName = HeaderNames.Date;
14894headerName = HeaderNames.Server;
14976headerName = HeaderNames.AltSvc;
15121headerName = HeaderNames.TransferEncoding;
15254_current = new KeyValuePair<string, StringValues>(HeaderNames.Connection, _collection._headers._Connection);
15260_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _collection._headers._ContentType);
15266_current = new KeyValuePair<string, StringValues>(HeaderNames.Date, _collection._headers._Date);
15272_current = new KeyValuePair<string, StringValues>(HeaderNames.Server, _collection._headers._Server);
15278_current = new KeyValuePair<string, StringValues>(HeaderNames.AcceptRanges, _collection._headers._AcceptRanges);
15284_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowCredentials, _collection._headers._AccessControlAllowCredentials);
15290_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowHeaders, _collection._headers._AccessControlAllowHeaders);
15296_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowMethods, _collection._headers._AccessControlAllowMethods);
15302_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlAllowOrigin, _collection._headers._AccessControlAllowOrigin);
15308_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlExposeHeaders, _collection._headers._AccessControlExposeHeaders);
15314_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlMaxAge, _collection._headers._AccessControlMaxAge);
15320_current = new KeyValuePair<string, StringValues>(HeaderNames.Age, _collection._headers._Age);
15326_current = new KeyValuePair<string, StringValues>(HeaderNames.Allow, _collection._headers._Allow);
15332_current = new KeyValuePair<string, StringValues>(HeaderNames.AltSvc, _collection._headers._AltSvc);
15338_current = new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, _collection._headers._CacheControl);
15344_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, _collection._headers._ContentEncoding);
15350_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLanguage, _collection._headers._ContentLanguage);
15356_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLocation, _collection._headers._ContentLocation);
15362_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentMD5, _collection._headers._ContentMD5);
15368_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentRange, _collection._headers._ContentRange);
15374_current = new KeyValuePair<string, StringValues>(HeaderNames.ETag, _collection._headers._ETag);
15380_current = new KeyValuePair<string, StringValues>(HeaderNames.Expires, _collection._headers._Expires);
15386_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcEncoding, _collection._headers._GrpcEncoding);
15392_current = new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, _collection._headers._KeepAlive);
15398_current = new KeyValuePair<string, StringValues>(HeaderNames.LastModified, _collection._headers._LastModified);
15404_current = new KeyValuePair<string, StringValues>(HeaderNames.Location, _collection._headers._Location);
15410_current = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _collection._headers._Pragma);
15416_current = new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthenticate, _collection._headers._ProxyAuthenticate);
15422_current = new KeyValuePair<string, StringValues>(HeaderNames.ProxyConnection, _collection._headers._ProxyConnection);
15428_current = new KeyValuePair<string, StringValues>(HeaderNames.RetryAfter, _collection._headers._RetryAfter);
15434_current = new KeyValuePair<string, StringValues>(HeaderNames.SetCookie, _collection._headers._SetCookie);
15440_current = new KeyValuePair<string, StringValues>(HeaderNames.Trailer, _collection._headers._Trailer);
15446_current = new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, _collection._headers._TransferEncoding);
15452_current = new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, _collection._headers._Upgrade);
15458_current = new KeyValuePair<string, StringValues>(HeaderNames.Vary, _collection._headers._Vary);
15464_current = new KeyValuePair<string, StringValues>(HeaderNames.Via, _collection._headers._Via);
15470_current = new KeyValuePair<string, StringValues>(HeaderNames.Warning, _collection._headers._Warning);
15476_current = new KeyValuePair<string, StringValues>(HeaderNames.WWWAuthenticate, _collection._headers._WWWAuthenticate);
15482_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection._contentLength.GetValueOrDefault()));
15548ValidateHeaderValueCharacters(HeaderNames.ETag, value, EncodingSelector);
15577ValidateHeaderValueCharacters(HeaderNames.GrpcMessage, value, EncodingSelector);
15606ValidateHeaderValueCharacters(HeaderNames.GrpcStatus, value, EncodingSelector);
15623if (!TryGetUnknown(HeaderNames.Accept, ref value))
15632ValidateHeaderValueCharacters(HeaderNames.Accept, value, EncodingSelector);
15633SetValueUnknown(HeaderNames.Accept, value);
15641if (!TryGetUnknown(HeaderNames.AcceptCharset, ref value))
15650ValidateHeaderValueCharacters(HeaderNames.AcceptCharset, value, EncodingSelector);
15651SetValueUnknown(HeaderNames.AcceptCharset, value);
15659if (!TryGetUnknown(HeaderNames.AcceptEncoding, ref value))
15668ValidateHeaderValueCharacters(HeaderNames.AcceptEncoding, value, EncodingSelector);
15669SetValueUnknown(HeaderNames.AcceptEncoding, value);
15677if (!TryGetUnknown(HeaderNames.AcceptLanguage, ref value))
15686ValidateHeaderValueCharacters(HeaderNames.AcceptLanguage, value, EncodingSelector);
15687SetValueUnknown(HeaderNames.AcceptLanguage, value);
15695if (!TryGetUnknown(HeaderNames.AcceptRanges, ref value))
15704ValidateHeaderValueCharacters(HeaderNames.AcceptRanges, value, EncodingSelector);
15705SetValueUnknown(HeaderNames.AcceptRanges, value);
15713if (!TryGetUnknown(HeaderNames.AccessControlAllowCredentials, ref value))
15722ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowCredentials, value, EncodingSelector);
15723SetValueUnknown(HeaderNames.AccessControlAllowCredentials, value);
15731if (!TryGetUnknown(HeaderNames.AccessControlAllowHeaders, ref value))
15740ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowHeaders, value, EncodingSelector);
15741SetValueUnknown(HeaderNames.AccessControlAllowHeaders, value);
15749if (!TryGetUnknown(HeaderNames.AccessControlAllowMethods, ref value))
15758ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowMethods, value, EncodingSelector);
15759SetValueUnknown(HeaderNames.AccessControlAllowMethods, value);
15767if (!TryGetUnknown(HeaderNames.AccessControlAllowOrigin, ref value))
15776ValidateHeaderValueCharacters(HeaderNames.AccessControlAllowOrigin, value, EncodingSelector);
15777SetValueUnknown(HeaderNames.AccessControlAllowOrigin, value);
15785if (!TryGetUnknown(HeaderNames.AccessControlExposeHeaders, ref value))
15794ValidateHeaderValueCharacters(HeaderNames.AccessControlExposeHeaders, value, EncodingSelector);
15795SetValueUnknown(HeaderNames.AccessControlExposeHeaders, value);
15803if (!TryGetUnknown(HeaderNames.AccessControlMaxAge, ref value))
15812ValidateHeaderValueCharacters(HeaderNames.AccessControlMaxAge, value, EncodingSelector);
15813SetValueUnknown(HeaderNames.AccessControlMaxAge, value);
15821if (!TryGetUnknown(HeaderNames.AccessControlRequestHeaders, ref value))
15830ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestHeaders, value, EncodingSelector);
15831SetValueUnknown(HeaderNames.AccessControlRequestHeaders, value);
15839if (!TryGetUnknown(HeaderNames.AccessControlRequestMethod, ref value))
15848ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestMethod, value, EncodingSelector);
15849SetValueUnknown(HeaderNames.AccessControlRequestMethod, value);
15857if (!TryGetUnknown(HeaderNames.Age, ref value))
15866ValidateHeaderValueCharacters(HeaderNames.Age, value, EncodingSelector);
15867SetValueUnknown(HeaderNames.Age, value);
15875if (!TryGetUnknown(HeaderNames.Allow, ref value))
15884ValidateHeaderValueCharacters(HeaderNames.Allow, value, EncodingSelector);
15885SetValueUnknown(HeaderNames.Allow, value);
15893if (!TryGetUnknown(HeaderNames.AltSvc, ref value))
15902ValidateHeaderValueCharacters(HeaderNames.AltSvc, value, EncodingSelector);
15903SetValueUnknown(HeaderNames.AltSvc, value);
15911if (!TryGetUnknown(HeaderNames.Authorization, ref value))
15920ValidateHeaderValueCharacters(HeaderNames.Authorization, value, EncodingSelector);
15921SetValueUnknown(HeaderNames.Authorization, value);
15929if (!TryGetUnknown(HeaderNames.Baggage, ref value))
15938ValidateHeaderValueCharacters(HeaderNames.Baggage, value, EncodingSelector);
15939SetValueUnknown(HeaderNames.Baggage, value);
15947if (!TryGetUnknown(HeaderNames.CacheControl, ref value))
15956ValidateHeaderValueCharacters(HeaderNames.CacheControl, value, EncodingSelector);
15957SetValueUnknown(HeaderNames.CacheControl, value);
15965if (!TryGetUnknown(HeaderNames.Connection, ref value))
15974ValidateHeaderValueCharacters(HeaderNames.Connection, value, EncodingSelector);
15975SetValueUnknown(HeaderNames.Connection, value);
15983if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value))
15992ValidateHeaderValueCharacters(HeaderNames.ContentDisposition, value, EncodingSelector);
15993SetValueUnknown(HeaderNames.ContentDisposition, value);
16001if (!TryGetUnknown(HeaderNames.ContentEncoding, ref value))
16010ValidateHeaderValueCharacters(HeaderNames.ContentEncoding, value, EncodingSelector);
16011SetValueUnknown(HeaderNames.ContentEncoding, value);
16019if (!TryGetUnknown(HeaderNames.ContentLanguage, ref value))
16028ValidateHeaderValueCharacters(HeaderNames.ContentLanguage, value, EncodingSelector);
16029SetValueUnknown(HeaderNames.ContentLanguage, value);
16037if (!TryGetUnknown(HeaderNames.ContentLocation, ref value))
16046ValidateHeaderValueCharacters(HeaderNames.ContentLocation, value, EncodingSelector);
16047SetValueUnknown(HeaderNames.ContentLocation, value);
16055if (!TryGetUnknown(HeaderNames.ContentMD5, ref value))
16064ValidateHeaderValueCharacters(HeaderNames.ContentMD5, value, EncodingSelector);
16065SetValueUnknown(HeaderNames.ContentMD5, value);
16073if (!TryGetUnknown(HeaderNames.ContentRange, ref value))
16082ValidateHeaderValueCharacters(HeaderNames.ContentRange, value, EncodingSelector);
16083SetValueUnknown(HeaderNames.ContentRange, value);
16091if (!TryGetUnknown(HeaderNames.ContentSecurityPolicy, ref value))
16100ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicy, value, EncodingSelector);
16101SetValueUnknown(HeaderNames.ContentSecurityPolicy, value);
16109if (!TryGetUnknown(HeaderNames.ContentSecurityPolicyReportOnly, ref value))
16118ValidateHeaderValueCharacters(HeaderNames.ContentSecurityPolicyReportOnly, value, EncodingSelector);
16119SetValueUnknown(HeaderNames.ContentSecurityPolicyReportOnly, value);
16127if (!TryGetUnknown(HeaderNames.ContentType, ref value))
16136ValidateHeaderValueCharacters(HeaderNames.ContentType, value, EncodingSelector);
16137SetValueUnknown(HeaderNames.ContentType, value);
16145if (!TryGetUnknown(HeaderNames.CorrelationContext, ref value))
16154ValidateHeaderValueCharacters(HeaderNames.CorrelationContext, value, EncodingSelector);
16155SetValueUnknown(HeaderNames.CorrelationContext, value);
16163if (!TryGetUnknown(HeaderNames.Cookie, ref value))
16172ValidateHeaderValueCharacters(HeaderNames.Cookie, value, EncodingSelector);
16173SetValueUnknown(HeaderNames.Cookie, value);
16181if (!TryGetUnknown(HeaderNames.Date, ref value))
16190ValidateHeaderValueCharacters(HeaderNames.Date, value, EncodingSelector);
16191SetValueUnknown(HeaderNames.Date, value);
16199if (!TryGetUnknown(HeaderNames.Expires, ref value))
16208ValidateHeaderValueCharacters(HeaderNames.Expires, value, EncodingSelector);
16209SetValueUnknown(HeaderNames.Expires, value);
16217if (!TryGetUnknown(HeaderNames.Expect, ref value))
16226ValidateHeaderValueCharacters(HeaderNames.Expect, value, EncodingSelector);
16227SetValueUnknown(HeaderNames.Expect, value);
16235if (!TryGetUnknown(HeaderNames.From, ref value))
16244ValidateHeaderValueCharacters(HeaderNames.From, value, EncodingSelector);
16245SetValueUnknown(HeaderNames.From, value);
16253if (!TryGetUnknown(HeaderNames.GrpcAcceptEncoding, ref value))
16262ValidateHeaderValueCharacters(HeaderNames.GrpcAcceptEncoding, value, EncodingSelector);
16263SetValueUnknown(HeaderNames.GrpcAcceptEncoding, value);
16271if (!TryGetUnknown(HeaderNames.GrpcEncoding, ref value))
16280ValidateHeaderValueCharacters(HeaderNames.GrpcEncoding, value, EncodingSelector);
16281SetValueUnknown(HeaderNames.GrpcEncoding, value);
16289if (!TryGetUnknown(HeaderNames.GrpcTimeout, ref value))
16298ValidateHeaderValueCharacters(HeaderNames.GrpcTimeout, value, EncodingSelector);
16299SetValueUnknown(HeaderNames.GrpcTimeout, value);
16307if (!TryGetUnknown(HeaderNames.Host, ref value))
16316ValidateHeaderValueCharacters(HeaderNames.Host, value, EncodingSelector);
16317SetValueUnknown(HeaderNames.Host, value);
16325if (!TryGetUnknown(HeaderNames.KeepAlive, ref value))
16334ValidateHeaderValueCharacters(HeaderNames.KeepAlive, value, EncodingSelector);
16335SetValueUnknown(HeaderNames.KeepAlive, value);
16343if (!TryGetUnknown(HeaderNames.IfMatch, ref value))
16352ValidateHeaderValueCharacters(HeaderNames.IfMatch, value, EncodingSelector);
16353SetValueUnknown(HeaderNames.IfMatch, value);
16361if (!TryGetUnknown(HeaderNames.IfModifiedSince, ref value))
16370ValidateHeaderValueCharacters(HeaderNames.IfModifiedSince, value, EncodingSelector);
16371SetValueUnknown(HeaderNames.IfModifiedSince, value);
16379if (!TryGetUnknown(HeaderNames.IfNoneMatch, ref value))
16388ValidateHeaderValueCharacters(HeaderNames.IfNoneMatch, value, EncodingSelector);
16389SetValueUnknown(HeaderNames.IfNoneMatch, value);
16397if (!TryGetUnknown(HeaderNames.IfRange, ref value))
16406ValidateHeaderValueCharacters(HeaderNames.IfRange, value, EncodingSelector);
16407SetValueUnknown(HeaderNames.IfRange, value);
16415if (!TryGetUnknown(HeaderNames.IfUnmodifiedSince, ref value))
16424ValidateHeaderValueCharacters(HeaderNames.IfUnmodifiedSince, value, EncodingSelector);
16425SetValueUnknown(HeaderNames.IfUnmodifiedSince, value);
16433if (!TryGetUnknown(HeaderNames.LastModified, ref value))
16442ValidateHeaderValueCharacters(HeaderNames.LastModified, value, EncodingSelector);
16443SetValueUnknown(HeaderNames.LastModified, value);
16451if (!TryGetUnknown(HeaderNames.Link, ref value))
16460ValidateHeaderValueCharacters(HeaderNames.Link, value, EncodingSelector);
16461SetValueUnknown(HeaderNames.Link, value);
16469if (!TryGetUnknown(HeaderNames.Location, ref value))
16478ValidateHeaderValueCharacters(HeaderNames.Location, value, EncodingSelector);
16479SetValueUnknown(HeaderNames.Location, value);
16487if (!TryGetUnknown(HeaderNames.MaxForwards, ref value))
16496ValidateHeaderValueCharacters(HeaderNames.MaxForwards, value, EncodingSelector);
16497SetValueUnknown(HeaderNames.MaxForwards, value);
16505if (!TryGetUnknown(HeaderNames.Origin, ref value))
16514ValidateHeaderValueCharacters(HeaderNames.Origin, value, EncodingSelector);
16515SetValueUnknown(HeaderNames.Origin, value);
16523if (!TryGetUnknown(HeaderNames.Pragma, ref value))
16532ValidateHeaderValueCharacters(HeaderNames.Pragma, value, EncodingSelector);
16533SetValueUnknown(HeaderNames.Pragma, value);
16541if (!TryGetUnknown(HeaderNames.ProxyAuthenticate, ref value))
16550ValidateHeaderValueCharacters(HeaderNames.ProxyAuthenticate, value, EncodingSelector);
16551SetValueUnknown(HeaderNames.ProxyAuthenticate, value);
16559if (!TryGetUnknown(HeaderNames.ProxyAuthorization, ref value))
16568ValidateHeaderValueCharacters(HeaderNames.ProxyAuthorization, value, EncodingSelector);
16569SetValueUnknown(HeaderNames.ProxyAuthorization, value);
16577if (!TryGetUnknown(HeaderNames.ProxyConnection, ref value))
16586ValidateHeaderValueCharacters(HeaderNames.ProxyConnection, value, EncodingSelector);
16587SetValueUnknown(HeaderNames.ProxyConnection, value);
16595if (!TryGetUnknown(HeaderNames.Range, ref value))
16604ValidateHeaderValueCharacters(HeaderNames.Range, value, EncodingSelector);
16605SetValueUnknown(HeaderNames.Range, value);
16613if (!TryGetUnknown(HeaderNames.Referer, ref value))
16622ValidateHeaderValueCharacters(HeaderNames.Referer, value, EncodingSelector);
16623SetValueUnknown(HeaderNames.Referer, value);
16631if (!TryGetUnknown(HeaderNames.RetryAfter, ref value))
16640ValidateHeaderValueCharacters(HeaderNames.RetryAfter, value, EncodingSelector);
16641SetValueUnknown(HeaderNames.RetryAfter, value);
16649if (!TryGetUnknown(HeaderNames.RequestId, ref value))
16658ValidateHeaderValueCharacters(HeaderNames.RequestId, value, EncodingSelector);
16659SetValueUnknown(HeaderNames.RequestId, value);
16667if (!TryGetUnknown(HeaderNames.SecWebSocketAccept, ref value))
16676ValidateHeaderValueCharacters(HeaderNames.SecWebSocketAccept, value, EncodingSelector);
16677SetValueUnknown(HeaderNames.SecWebSocketAccept, value);
16685if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value))
16694ValidateHeaderValueCharacters(HeaderNames.SecWebSocketKey, value, EncodingSelector);
16695SetValueUnknown(HeaderNames.SecWebSocketKey, value);
16703if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value))
16712ValidateHeaderValueCharacters(HeaderNames.SecWebSocketProtocol, value, EncodingSelector);
16713SetValueUnknown(HeaderNames.SecWebSocketProtocol, value);
16721if (!TryGetUnknown(HeaderNames.SecWebSocketVersion, ref value))
16730ValidateHeaderValueCharacters(HeaderNames.SecWebSocketVersion, value, EncodingSelector);
16731SetValueUnknown(HeaderNames.SecWebSocketVersion, value);
16739if (!TryGetUnknown(HeaderNames.SecWebSocketExtensions, ref value))
16748ValidateHeaderValueCharacters(HeaderNames.SecWebSocketExtensions, value, EncodingSelector);
16749SetValueUnknown(HeaderNames.SecWebSocketExtensions, value);
16757if (!TryGetUnknown(HeaderNames.Server, ref value))
16766ValidateHeaderValueCharacters(HeaderNames.Server, value, EncodingSelector);
16767SetValueUnknown(HeaderNames.Server, value);
16775if (!TryGetUnknown(HeaderNames.SetCookie, ref value))
16784ValidateHeaderValueCharacters(HeaderNames.SetCookie, value, EncodingSelector);
16785SetValueUnknown(HeaderNames.SetCookie, value);
16793if (!TryGetUnknown(HeaderNames.StrictTransportSecurity, ref value))
16802ValidateHeaderValueCharacters(HeaderNames.StrictTransportSecurity, value, EncodingSelector);
16803SetValueUnknown(HeaderNames.StrictTransportSecurity, value);
16811if (!TryGetUnknown(HeaderNames.TE, ref value))
16820ValidateHeaderValueCharacters(HeaderNames.TE, value, EncodingSelector);
16821SetValueUnknown(HeaderNames.TE, value);
16829if (!TryGetUnknown(HeaderNames.Trailer, ref value))
16838ValidateHeaderValueCharacters(HeaderNames.Trailer, value, EncodingSelector);
16839SetValueUnknown(HeaderNames.Trailer, value);
16847if (!TryGetUnknown(HeaderNames.TransferEncoding, ref value))
16856ValidateHeaderValueCharacters(HeaderNames.TransferEncoding, value, EncodingSelector);
16857SetValueUnknown(HeaderNames.TransferEncoding, value);
16865if (!TryGetUnknown(HeaderNames.Translate, ref value))
16874ValidateHeaderValueCharacters(HeaderNames.Translate, value, EncodingSelector);
16875SetValueUnknown(HeaderNames.Translate, value);
16883if (!TryGetUnknown(HeaderNames.TraceParent, ref value))
16892ValidateHeaderValueCharacters(HeaderNames.TraceParent, value, EncodingSelector);
16893SetValueUnknown(HeaderNames.TraceParent, value);
16901if (!TryGetUnknown(HeaderNames.TraceState, ref value))
16910ValidateHeaderValueCharacters(HeaderNames.TraceState, value, EncodingSelector);
16911SetValueUnknown(HeaderNames.TraceState, value);
16919if (!TryGetUnknown(HeaderNames.Upgrade, ref value))
16928ValidateHeaderValueCharacters(HeaderNames.Upgrade, value, EncodingSelector);
16929SetValueUnknown(HeaderNames.Upgrade, value);
16937if (!TryGetUnknown(HeaderNames.UpgradeInsecureRequests, ref value))
16946ValidateHeaderValueCharacters(HeaderNames.UpgradeInsecureRequests, value, EncodingSelector);
16947SetValueUnknown(HeaderNames.UpgradeInsecureRequests, value);
16955if (!TryGetUnknown(HeaderNames.UserAgent, ref value))
16964ValidateHeaderValueCharacters(HeaderNames.UserAgent, value, EncodingSelector);
16965SetValueUnknown(HeaderNames.UserAgent, value);
16973if (!TryGetUnknown(HeaderNames.Vary, ref value))
16982ValidateHeaderValueCharacters(HeaderNames.Vary, value, EncodingSelector);
16983SetValueUnknown(HeaderNames.Vary, value);
16991if (!TryGetUnknown(HeaderNames.Via, ref value))
17000ValidateHeaderValueCharacters(HeaderNames.Via, value, EncodingSelector);
17001SetValueUnknown(HeaderNames.Via, value);
17009if (!TryGetUnknown(HeaderNames.Warning, ref value))
17018ValidateHeaderValueCharacters(HeaderNames.Warning, value, EncodingSelector);
17019SetValueUnknown(HeaderNames.Warning, value);
17027if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value))
17036ValidateHeaderValueCharacters(HeaderNames.WebSocketSubProtocols, value, EncodingSelector);
17037SetValueUnknown(HeaderNames.WebSocketSubProtocols, value);
17045if (!TryGetUnknown(HeaderNames.WWWAuthenticate, ref value))
17054ValidateHeaderValueCharacters(HeaderNames.WWWAuthenticate, value, EncodingSelector);
17055SetValueUnknown(HeaderNames.WWWAuthenticate, value);
17063if (!TryGetUnknown(HeaderNames.XContentTypeOptions, ref value))
17072ValidateHeaderValueCharacters(HeaderNames.XContentTypeOptions, value, EncodingSelector);
17073SetValueUnknown(HeaderNames.XContentTypeOptions, value);
17081if (!TryGetUnknown(HeaderNames.XFrameOptions, ref value))
17090ValidateHeaderValueCharacters(HeaderNames.XFrameOptions, value, EncodingSelector);
17091SetValueUnknown(HeaderNames.XFrameOptions, value);
17099if (!TryGetUnknown(HeaderNames.XPoweredBy, ref value))
17108ValidateHeaderValueCharacters(HeaderNames.XPoweredBy, value, EncodingSelector);
17109SetValueUnknown(HeaderNames.XPoweredBy, value);
17117if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value))
17126ValidateHeaderValueCharacters(HeaderNames.XRequestedWith, value, EncodingSelector);
17127SetValueUnknown(HeaderNames.XRequestedWith, value);
17135if (!TryGetUnknown(HeaderNames.XUACompatible, ref value))
17144ValidateHeaderValueCharacters(HeaderNames.XUACompatible, value, EncodingSelector);
17145SetValueUnknown(HeaderNames.XUACompatible, value);
17153if (!TryGetUnknown(HeaderNames.XXSSProtection, ref value))
17162ValidateHeaderValueCharacters(HeaderNames.XXSSProtection, value, EncodingSelector);
17163SetValueUnknown(HeaderNames.XXSSProtection, value);
17179if (ReferenceEquals(HeaderNames.ETag, key))
17189if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17202if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17212if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17225if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17235if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17258if (ReferenceEquals(HeaderNames.ETag, key))
17265if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17275if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17282if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17292if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17299if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17319if (ReferenceEquals(HeaderNames.ETag, key))
17330if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17344if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17355if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17369if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17380if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17403if (ReferenceEquals(HeaderNames.ETag, key))
17414if (HeaderNames.ETag.Equals(key, StringComparison.OrdinalIgnoreCase))
17428if (ReferenceEquals(HeaderNames.GrpcStatus, key))
17439if (HeaderNames.GrpcStatus.Equals(key, StringComparison.OrdinalIgnoreCase))
17453if (ReferenceEquals(HeaderNames.GrpcMessage, key))
17464if (HeaderNames.GrpcMessage.Equals(key, StringComparison.OrdinalIgnoreCase))
17537array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ETag, _headers._ETag);
17546array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcMessage, _headers._GrpcMessage);
17555array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.GrpcStatus, _headers._GrpcStatus);
17564array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value));
17590_current = new KeyValuePair<string, StringValues>(HeaderNames.ETag, _collection._headers._ETag);
17596_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcMessage, _collection._headers._GrpcMessage);
17602_current = new KeyValuePair<string, StringValues>(HeaderNames.GrpcStatus, _collection._headers._GrpcStatus);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (140)
src\Servers\Kestrel\shared\KnownHeaders.cs (127)
24HeaderNames.Allow,
25HeaderNames.AltSvc,
26HeaderNames.TransferEncoding,
27HeaderNames.ContentLength,
28HeaderNames.Connection,
34HeaderNames.Host,
37public static readonly string[] DefinedHeaderNames = typeof(HeaderNames)
46HeaderNames.DNT,
94HeaderNames.Accept,
95HeaderNames.Connection,
96HeaderNames.Host,
97HeaderNames.UserAgent
101HeaderNames.Connection,
102HeaderNames.Date,
103HeaderNames.ContentType,
104HeaderNames.Server,
105HeaderNames.ContentLength,
109HeaderNames.CacheControl,
110HeaderNames.Connection,
111HeaderNames.Date,
112HeaderNames.GrpcEncoding,
113HeaderNames.KeepAlive,
114HeaderNames.Pragma,
115HeaderNames.TransferEncoding,
116HeaderNames.Upgrade,
117HeaderNames.Via,
118HeaderNames.Warning,
119HeaderNames.ContentType,
124HeaderNames.Origin,
125HeaderNames.AccessControlRequestMethod,
126HeaderNames.AccessControlRequestHeaders,
130HeaderNames.Cookie,
131HeaderNames.Connection,
132HeaderNames.TransferEncoding,
136HeaderNames.Host
144HeaderNames.Accept,
145HeaderNames.AcceptCharset,
146HeaderNames.AcceptEncoding,
147HeaderNames.AcceptLanguage,
149HeaderNames.Authorization,
150HeaderNames.Cookie,
151HeaderNames.Expect,
152HeaderNames.From,
153HeaderNames.GrpcAcceptEncoding,
154HeaderNames.GrpcTimeout,
155HeaderNames.Host,
156HeaderNames.IfMatch,
157HeaderNames.IfModifiedSince,
158HeaderNames.IfNoneMatch,
159HeaderNames.IfRange,
160HeaderNames.IfUnmodifiedSince,
161HeaderNames.MaxForwards,
163HeaderNames.ProxyAuthorization,
164HeaderNames.Referer,
165HeaderNames.Range,
166HeaderNames.TE,
167HeaderNames.Translate,
168HeaderNames.UserAgent,
169HeaderNames.UpgradeInsecureRequests,
170HeaderNames.RequestId,
171HeaderNames.CorrelationContext,
172HeaderNames.TraceParent,
173HeaderNames.TraceState,
174HeaderNames.Baggage,
191Name = HeaderNames.ContentLength,
193PrimaryHeader = requestPrimaryHeaders.Contains(HeaderNames.ContentLength)
199HeaderNames.Connection,
200HeaderNames.Server,
201HeaderNames.Date,
202HeaderNames.TransferEncoding,
203HeaderNames.AltSvc
207HeaderNames.Connection,
208HeaderNames.Server,
209HeaderNames.Date,
210HeaderNames.TransferEncoding,
211HeaderNames.AltSvc
216HeaderNames.AccessControlAllowCredentials,
217HeaderNames.AccessControlAllowHeaders,
218HeaderNames.AccessControlAllowMethods,
219HeaderNames.AccessControlAllowOrigin,
220HeaderNames.AccessControlExposeHeaders,
221HeaderNames.AccessControlMaxAge,
225HeaderNames.AcceptRanges,
226HeaderNames.Age,
227HeaderNames.Allow,
228HeaderNames.AltSvc,
229HeaderNames.ETag,
230HeaderNames.Location,
231HeaderNames.ProxyAuthenticate,
232HeaderNames.ProxyConnection,
233HeaderNames.RetryAfter,
234HeaderNames.Server,
235HeaderNames.SetCookie,
236HeaderNames.Vary,
237HeaderNames.Expires,
238HeaderNames.WWWAuthenticate,
239HeaderNames.ContentRange,
240HeaderNames.ContentEncoding,
241HeaderNames.ContentLanguage,
242HeaderNames.ContentLocation,
243HeaderNames.ContentMD5,
244HeaderNames.LastModified,
245HeaderNames.Trailer,
262Name = HeaderNames.ContentLength,
264EnhancedSetter = enhancedHeaders.Contains(HeaderNames.ContentLength),
265PrimaryHeader = responsePrimaryHeaders.Contains(HeaderNames.ContentLength)
271HeaderNames.ETag,
272HeaderNames.GrpcMessage,
273HeaderNames.GrpcStatus
290HeaderNames.Connection,
291HeaderNames.TransferEncoding,
292HeaderNames.KeepAlive,
293HeaderNames.Upgrade,
294HeaderNames.ProxyConnection
378if (header.Name == HeaderNames.ContentLength)
420if (header.Name == HeaderNames.ContentLength)
869public {(header.Name == HeaderNames.Connection ? "override " : "")}StringValues Header{header.Identifier}
870{{{(header.Name == HeaderNames.ContentLength ? $@"
906{Each(loop.Headers.Where(header => header.Name != HeaderNames.ContentLength && !NonApiHeaders.Contains(header.Identifier)), header => $@"
976{{{(header.Name == HeaderNames.ContentLength ? @"
992{{{(header.Name == HeaderNames.ContentLength ? @"
1021{{{(header.Name == HeaderNames.ContentLength ? $@"
1030{{{(header.Name == HeaderNames.ContentLength ? $@"
1052{{{(header.Name == HeaderNames.ContentLength ? $@"
1070{{{(header.Name == HeaderNames.ContentLength ? $@"
1100{{{(header.Name == HeaderNames.ContentLength ? @"
1118{{{(header.Name == HeaderNames.ContentLength ? @"
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (8)
Microsoft.AspNetCore.Shared.Tests (355)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (30)
23HeaderNames.CacheControl,
24HeaderNames.Connection,
25HeaderNames.Date,
26HeaderNames.KeepAlive,
27HeaderNames.Pragma,
28HeaderNames.Trailer,
29HeaderNames.TransferEncoding,
30HeaderNames.Upgrade,
31HeaderNames.Via,
32HeaderNames.Warning,
34HeaderNames.Allow,
35HeaderNames.ContentLength,
36HeaderNames.ContentType,
37HeaderNames.ContentEncoding,
38HeaderNames.ContentLanguage,
39HeaderNames.ContentLocation,
40HeaderNames.ContentMD5,
41HeaderNames.ContentRange,
42HeaderNames.Expires,
43HeaderNames.LastModified,
45HeaderNames.AcceptRanges,
46HeaderNames.Age,
47HeaderNames.ETag,
48HeaderNames.Location,
49HeaderNames.ProxyAuthenticate,
50HeaderNames.RetryAfter,
51HeaderNames.Server,
52HeaderNames.SetCookie,
53HeaderNames.Vary,
54HeaderNames.WWWAuthenticate,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (35)
22HeaderNames.TransferEncoding, HeaderNames.ContentLength,
25HeaderNames.Host,
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
32HeaderNames.IfMatch, HeaderNames.IfNoneMatch, HeaderNames.IfModifiedSince, HeaderNames.IfUnmodifiedSince, HeaderNames.IfRange,
35HeaderNames.WWWAuthenticate, HeaderNames.Authorization, HeaderNames.ProxyAuthenticate, HeaderNames.ProxyAuthorization, HeaderNames.SetCookie, HeaderNames.Cookie,
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
42HeaderNames.ContentEncoding, HeaderNames.ContentType, HeaderNames.ContentRange, HeaderNames.Trailer
123var rawValue = this[HeaderNames.ContentLength];
143ValidateRestrictedTrailers(HeaderNames.ContentLength);
153this[HeaderNames.ContentLength] = _contentLengthText;
158Remove(HeaderNames.ContentLength);
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (287)
1051if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1057if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1063if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1067if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1071if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1077if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1081if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1087if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1091if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1095if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1113if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1117if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1121if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1127if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1131if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1137if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1143if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1147if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1151if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1157if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1167if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1173if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1177if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1181if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1185if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1189if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1195if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1199if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1205if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1209if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1215if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1219if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1223if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1229if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1233if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1239if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1243if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1257if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1264if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1271if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1276if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1281if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1288if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1293if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1300if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1305if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1310if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1332if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1337if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1342if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1349if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1354if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1361if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1368if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1373if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1378if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1385if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1397if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1404if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1409if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1414if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1419if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1424if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1431if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1436if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1443if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1448if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1455if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1460if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1465if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1472if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1477if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1484if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1489if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1505if (string.Equals(key, HeaderNames.TE, StringComparison.OrdinalIgnoreCase))
1512if (string.Equals(key, HeaderNames.Via, StringComparison.OrdinalIgnoreCase))
1519if (string.Equals(key, HeaderNames.Date, StringComparison.OrdinalIgnoreCase))
1524if (string.Equals(key, HeaderNames.From, StringComparison.OrdinalIgnoreCase))
1529if (string.Equals(key, HeaderNames.Host, StringComparison.OrdinalIgnoreCase))
1536if (string.Equals(key, HeaderNames.Allow, StringComparison.OrdinalIgnoreCase))
1541if (string.Equals(key, HeaderNames.Range, StringComparison.OrdinalIgnoreCase))
1548if (string.Equals(key, HeaderNames.Accept, StringComparison.OrdinalIgnoreCase))
1553if (string.Equals(key, HeaderNames.Cookie, StringComparison.OrdinalIgnoreCase))
1558if (string.Equals(key, HeaderNames.Expect, StringComparison.OrdinalIgnoreCase))
1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase))
1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase))
1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase))
1580if (string.Equals(key, HeaderNames.Trailer, StringComparison.OrdinalIgnoreCase))
1585if (string.Equals(key, HeaderNames.Upgrade, StringComparison.OrdinalIgnoreCase))
1590if (string.Equals(key, HeaderNames.Warning, StringComparison.OrdinalIgnoreCase))
1597if (string.Equals(key, HeaderNames.IfMatch, StringComparison.OrdinalIgnoreCase))
1602if (string.Equals(key, HeaderNames.IfRange, StringComparison.OrdinalIgnoreCase))
1609if (string.Equals(key, HeaderNames.Translate, StringComparison.OrdinalIgnoreCase))
1616if (string.Equals(key, HeaderNames.Connection, StringComparison.OrdinalIgnoreCase))
1621if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.OrdinalIgnoreCase))
1626if (string.Equals(key, HeaderNames.UserAgent, StringComparison.OrdinalIgnoreCase))
1633if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1645if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.OrdinalIgnoreCase))
1652if (string.Equals(key, HeaderNames.Authorization, StringComparison.OrdinalIgnoreCase))
1657if (string.Equals(key, HeaderNames.CacheControl, StringComparison.OrdinalIgnoreCase))
1662if (string.Equals(key, HeaderNames.ContentRange, StringComparison.OrdinalIgnoreCase))
1667if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.OrdinalIgnoreCase))
1672if (string.Equals(key, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
1679if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.OrdinalIgnoreCase))
1684if (string.Equals(key, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
1691if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.OrdinalIgnoreCase))
1696if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.OrdinalIgnoreCase))
1703if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
1708if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.OrdinalIgnoreCase))
1713if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.OrdinalIgnoreCase))
1720if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.OrdinalIgnoreCase))
1725if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.OrdinalIgnoreCase))
1732if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.OrdinalIgnoreCase))
1737if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.OrdinalIgnoreCase))
1752if (string.Equals(key, HeaderNames.TE, StringComparison.Ordinal))
1764if (string.Equals(key, HeaderNames.Via, StringComparison.Ordinal))
1776if (string.Equals(key, HeaderNames.Date, StringComparison.Ordinal))
1786if (string.Equals(key, HeaderNames.From, StringComparison.Ordinal))
1796if (string.Equals(key, HeaderNames.Host, StringComparison.Ordinal))
1808if (string.Equals(key, HeaderNames.Allow, StringComparison.Ordinal))
1818if (string.Equals(key, HeaderNames.Range, StringComparison.Ordinal))
1830if (string.Equals(key, HeaderNames.Accept, StringComparison.Ordinal))
1840if (string.Equals(key, HeaderNames.Cookie, StringComparison.Ordinal))
1850if (string.Equals(key, HeaderNames.Expect, StringComparison.Ordinal))
1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal))
1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal))
1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal))
1892if (string.Equals(key, HeaderNames.Trailer, StringComparison.Ordinal))
1902if (string.Equals(key, HeaderNames.Upgrade, StringComparison.Ordinal))
1912if (string.Equals(key, HeaderNames.Warning, StringComparison.Ordinal))
1924if (string.Equals(key, HeaderNames.IfMatch, StringComparison.Ordinal))
1934if (string.Equals(key, HeaderNames.IfRange, StringComparison.Ordinal))
1946if (string.Equals(key, HeaderNames.Translate, StringComparison.Ordinal))
1958if (string.Equals(key, HeaderNames.Connection, StringComparison.Ordinal))
1968if (string.Equals(key, HeaderNames.KeepAlive, StringComparison.Ordinal))
1978if (string.Equals(key, HeaderNames.UserAgent, StringComparison.Ordinal))
1990if (string.Equals(key, HeaderNames.ContentMD5, StringComparison.Ordinal))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2012if (string.Equals(key, HeaderNames.MaxForwards, StringComparison.Ordinal))
2024if (string.Equals(key, HeaderNames.Authorization, StringComparison.Ordinal))
2034if (string.Equals(key, HeaderNames.CacheControl, StringComparison.Ordinal))
2044if (string.Equals(key, HeaderNames.ContentRange, StringComparison.Ordinal))
2054if (string.Equals(key, HeaderNames.IfNoneMatch, StringComparison.Ordinal))
2064if (string.Equals(key, HeaderNames.LastModified, StringComparison.Ordinal))
2076if (string.Equals(key, HeaderNames.AcceptCharset, StringComparison.Ordinal))
2086if (string.Equals(key, HeaderNames.ContentLength, StringComparison.Ordinal))
2098if (string.Equals(key, HeaderNames.AcceptEncoding, StringComparison.Ordinal))
2108if (string.Equals(key, HeaderNames.AcceptLanguage, StringComparison.Ordinal))
2120if (string.Equals(key, HeaderNames.ContentEncoding, StringComparison.Ordinal))
2130if (string.Equals(key, HeaderNames.ContentLanguage, StringComparison.Ordinal))
2140if (string.Equals(key, HeaderNames.ContentLocation, StringComparison.Ordinal))
2152if (string.Equals(key, HeaderNames.IfModifiedSince, StringComparison.Ordinal))
2162if (string.Equals(key, HeaderNames.TransferEncoding, StringComparison.Ordinal))
2174if (string.Equals(key, HeaderNames.IfUnmodifiedSince, StringComparison.Ordinal))
2184if (string.Equals(key, HeaderNames.ProxyAuthorization, StringComparison.Ordinal))
2203yield return HeaderNames.Accept;
2207yield return HeaderNames.AcceptCharset;
2211yield return HeaderNames.AcceptEncoding;
2215yield return HeaderNames.AcceptLanguage;
2219yield return HeaderNames.Allow;
2223yield return HeaderNames.Authorization;
2227yield return HeaderNames.CacheControl;
2231yield return HeaderNames.Connection;
2235yield return HeaderNames.ContentEncoding;
2239yield return HeaderNames.ContentLanguage;
2243yield return HeaderNames.ContentLength;
2247yield return HeaderNames.ContentLocation;
2251yield return HeaderNames.ContentMD5;
2255yield return HeaderNames.ContentRange;
2259yield return HeaderNames.ContentType;
2263yield return HeaderNames.Cookie;
2267yield return HeaderNames.Date;
2271yield return HeaderNames.Expect;
2275yield return HeaderNames.Expires;
2279yield return HeaderNames.From;
2283yield return HeaderNames.Host;
2287yield return HeaderNames.IfMatch;
2291yield return HeaderNames.IfModifiedSince;
2295yield return HeaderNames.IfNoneMatch;
2299yield return HeaderNames.IfRange;
2303yield return HeaderNames.IfUnmodifiedSince;
2307yield return HeaderNames.KeepAlive;
2311yield return HeaderNames.LastModified;
2315yield return HeaderNames.MaxForwards;
2319yield return HeaderNames.Pragma;
2323yield return HeaderNames.ProxyAuthorization;
2327yield return HeaderNames.Range;
2331yield return HeaderNames.Referer;
2335yield return HeaderNames.TE;
2339yield return HeaderNames.Trailer;
2343yield return HeaderNames.TransferEncoding;
2347yield return HeaderNames.Translate;
2351yield return HeaderNames.Upgrade;
2355yield return HeaderNames.UserAgent;
2359yield return HeaderNames.Via;
2363yield return HeaderNames.Warning;
2539yield return new KeyValuePair<string, StringValues>(HeaderNames.Accept, Accept);
2543yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptCharset, AcceptCharset);
2547yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptEncoding, AcceptEncoding);
2551yield return new KeyValuePair<string, StringValues>(HeaderNames.AcceptLanguage, AcceptLanguage);
2555yield return new KeyValuePair<string, StringValues>(HeaderNames.Allow, Allow);
2559yield return new KeyValuePair<string, StringValues>(HeaderNames.Authorization, Authorization);
2563yield return new KeyValuePair<string, StringValues>(HeaderNames.CacheControl, CacheControl);
2567yield return new KeyValuePair<string, StringValues>(HeaderNames.Connection, Connection);
2571yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentEncoding, ContentEncoding);
2575yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLanguage, ContentLanguage);
2579yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, ContentLength);
2583yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentLocation, ContentLocation);
2587yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentMD5, ContentMD5);
2591yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentRange, ContentRange);
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2599yield return new KeyValuePair<string, StringValues>(HeaderNames.Cookie, Cookie);
2603yield return new KeyValuePair<string, StringValues>(HeaderNames.Date, Date);
2607yield return new KeyValuePair<string, StringValues>(HeaderNames.Expect, Expect);
2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires);
2615yield return new KeyValuePair<string, StringValues>(HeaderNames.From, From);
2619yield return new KeyValuePair<string, StringValues>(HeaderNames.Host, Host);
2623yield return new KeyValuePair<string, StringValues>(HeaderNames.IfMatch, IfMatch);
2627yield return new KeyValuePair<string, StringValues>(HeaderNames.IfModifiedSince, IfModifiedSince);
2631yield return new KeyValuePair<string, StringValues>(HeaderNames.IfNoneMatch, IfNoneMatch);
2635yield return new KeyValuePair<string, StringValues>(HeaderNames.IfRange, IfRange);
2639yield return new KeyValuePair<string, StringValues>(HeaderNames.IfUnmodifiedSince, IfUnmodifiedSince);
2643yield return new KeyValuePair<string, StringValues>(HeaderNames.KeepAlive, KeepAlive);
2647yield return new KeyValuePair<string, StringValues>(HeaderNames.LastModified, LastModified);
2651yield return new KeyValuePair<string, StringValues>(HeaderNames.MaxForwards, MaxForwards);
2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma);
2659yield return new KeyValuePair<string, StringValues>(HeaderNames.ProxyAuthorization, ProxyAuthorization);
2663yield return new KeyValuePair<string, StringValues>(HeaderNames.Range, Range);
2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer);
2671yield return new KeyValuePair<string, StringValues>(HeaderNames.TE, TE);
2675yield return new KeyValuePair<string, StringValues>(HeaderNames.Trailer, Trailer);
2679yield return new KeyValuePair<string, StringValues>(HeaderNames.TransferEncoding, TransferEncoding);
2683yield return new KeyValuePair<string, StringValues>(HeaderNames.Translate, Translate);
2687yield return new KeyValuePair<string, StringValues>(HeaderNames.Upgrade, Upgrade);
2691yield return new KeyValuePair<string, StringValues>(HeaderNames.UserAgent, UserAgent);
2695yield return new KeyValuePair<string, StringValues>(HeaderNames.Via, Via);
2699yield return new KeyValuePair<string, StringValues>(HeaderNames.Warning, Warning);
2750HttpSysRequestHeader.Accept => HeaderNames.Accept,
2751HttpSysRequestHeader.AcceptCharset => HeaderNames.AcceptCharset,
2752HttpSysRequestHeader.AcceptEncoding => HeaderNames.AcceptEncoding,
2753HttpSysRequestHeader.AcceptLanguage => HeaderNames.AcceptLanguage,
2754HttpSysRequestHeader.Allow => HeaderNames.Allow,
2755HttpSysRequestHeader.Authorization => HeaderNames.Authorization,
2756HttpSysRequestHeader.CacheControl => HeaderNames.CacheControl,
2757HttpSysRequestHeader.Connection => HeaderNames.Connection,
2758HttpSysRequestHeader.ContentEncoding => HeaderNames.ContentEncoding,
2759HttpSysRequestHeader.ContentLanguage => HeaderNames.ContentLanguage,
2760HttpSysRequestHeader.ContentLength => HeaderNames.ContentLength,
2761HttpSysRequestHeader.ContentLocation => HeaderNames.ContentLocation,
2762HttpSysRequestHeader.ContentMd5 => HeaderNames.ContentMD5,
2763HttpSysRequestHeader.ContentRange => HeaderNames.ContentRange,
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
2765HttpSysRequestHeader.Cookie => HeaderNames.Cookie,
2766HttpSysRequestHeader.Date => HeaderNames.Date,
2767HttpSysRequestHeader.Expect => HeaderNames.Expect,
2768HttpSysRequestHeader.Expires => HeaderNames.Expires,
2769HttpSysRequestHeader.From => HeaderNames.From,
2770HttpSysRequestHeader.Host => HeaderNames.Host,
2771HttpSysRequestHeader.IfMatch => HeaderNames.IfMatch,
2772HttpSysRequestHeader.IfModifiedSince => HeaderNames.IfModifiedSince,
2773HttpSysRequestHeader.IfNoneMatch => HeaderNames.IfNoneMatch,
2774HttpSysRequestHeader.IfRange => HeaderNames.IfRange,
2775HttpSysRequestHeader.IfUnmodifiedSince => HeaderNames.IfUnmodifiedSince,
2776HttpSysRequestHeader.KeepAlive => HeaderNames.KeepAlive,
2777HttpSysRequestHeader.LastModified => HeaderNames.LastModified,
2778HttpSysRequestHeader.MaxForwards => HeaderNames.MaxForwards,
2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,
2780HttpSysRequestHeader.ProxyAuthorization => HeaderNames.ProxyAuthorization,
2781HttpSysRequestHeader.Range => HeaderNames.Range,
2782HttpSysRequestHeader.Referer => HeaderNames.Referer,
2783HttpSysRequestHeader.Te => HeaderNames.TE,
2784HttpSysRequestHeader.Trailer => HeaderNames.Trailer,
2785HttpSysRequestHeader.TransferEncoding => HeaderNames.TransferEncoding,
2786HttpSysRequestHeader.Translate => HeaderNames.Translate,
2787HttpSysRequestHeader.Upgrade => HeaderNames.Upgrade,
2788HttpSysRequestHeader.UserAgent => HeaderNames.UserAgent,
2789HttpSysRequestHeader.Via => HeaderNames.Via,
2790HttpSysRequestHeader.Warning => HeaderNames.Warning,
Microsoft.AspNetCore.SignalR.Client.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.StaticAssets (7)
Development\StaticAssetDescriptorExtensions.cs (5)
16if (string.Equals(header.Name, HeaderNames.ContentLength, StringComparison.OrdinalIgnoreCase))
29if (string.Equals(header.Name, HeaderNames.LastModified, StringComparison.OrdinalIgnoreCase))
42if (string.Equals(header.Name, HeaderNames.ETag, StringComparison.OrdinalIgnoreCase))
59if (string.Equals(selector.Name, HeaderNames.ContentEncoding, StringComparison.OrdinalIgnoreCase))
72if (string.Equals(header.Name, HeaderNames.ETag, StringComparison.OrdinalIgnoreCase))
Microsoft.AspNetCore.TestHost (7)
Microsoft.AspNetCore.TestHost.Tests (4)
Microsoft.AspNetCore.WebSockets (7)
Microsoft.AspNetCore.WebSockets.Tests (19)
WebSocketCompressionMiddlewareTests.cs (8)
37request.Headers.Add(HeaderNames.SecWebSocketExtensions, "permessage-deflate");
41Assert.Equal("permessage-deflate; server_no_context_takeover", response.Headers.GetValues(HeaderNames.SecWebSocketExtensions).Aggregate((l, r) => $"{l}; {r}"));
65request.Headers.Add(HeaderNames.SecWebSocketExtensions, "permessage-deflate");
69Assert.False(response.Headers.Contains(HeaderNames.SecWebSocketExtensions));
99request.Headers.Add(HeaderNames.SecWebSocketExtensions, clientHeader);
103Assert.Equal(expectedResponse, response.Headers.GetValues(HeaderNames.SecWebSocketExtensions).Aggregate((l, r) => $"{l}; {r}"));
174request.Headers.Add(HeaderNames.SecWebSocketVersion, "13");
176request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
WebSocketMiddlewareTests.cs (8)
680request.Headers.Add(HeaderNames.SecWebSocketVersion, "13");
682request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
684request.Headers.Add(HeaderNames.Origin, "http://example.com");
728Assert.Same(HeaderNames.Upgrade, context.Request.Headers.Connection.ToString());
765request.Headers.Add(HeaderNames.SecWebSocketVersion, "13");
767request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
836request.Headers.Add(HeaderNames.SecWebSocketVersion, "13");
838request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
Microsoft.AspNetCore.WebUtilities (2)
ServerComparison.FunctionalTests (2)