1 override of Headers
Microsoft.AspNetCore.Http (1)
2 writes to Headers
Microsoft.AspNetCore.Http.Extensions.Tests (2)
810 references to Headers
Aspire.Dashboard (1)
Aspire.Dashboard.Tests (1)
AzureAppServicesHostingStartupSample (2)
AzureAppServicesSample (2)
BasicWebSite (4)
ControllersFromServicesClassLibrary (1)
DefaultBuilder.SampleApp (1)
GenericHostWebSite (2)
HeaderPropagationSample (2)
HttpAbstractions.SampleApp (4)
HttpLogging.Sample (1)
HttpOverridesSample (1)
IISSample (2)
InMemory.FunctionalTests (38)
Http2\Http2WebSocketTests.cs (15)
26Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _));
30Assert.Equal("chat, superchat", context.Request.Headers.WebSocketSubProtocols);
31Assert.Equal("permessage-deflate", context.Request.Headers.SecWebSocketExtensions);
32Assert.Equal("13", context.Request.Headers.SecWebSocketVersion);
33Assert.Equal("http://www.example.com", context.Request.Headers.Origin);
88Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _));
92Assert.Equal("chat, superchat", context.Request.Headers.WebSocketSubProtocols);
93Assert.Equal("permessage-deflate", context.Request.Headers.SecWebSocketExtensions);
94Assert.Equal("13", context.Request.Headers.SecWebSocketVersion);
95Assert.Equal("http://www.example.com", context.Request.Headers.Origin);
164Assert.False(context.Request.Headers.TryGetValue(":protocol", out var _));
168Assert.Equal("chat, superchat", context.Request.Headers.WebSocketSubProtocols);
169Assert.Equal("permessage-deflate", context.Request.Headers.SecWebSocketExtensions);
170Assert.Equal("13", context.Request.Headers.SecWebSocketVersion);
171Assert.Equal("http://www.example.com", context.Request.Headers.Origin);
InProcessWebSite (26)
src\Servers\IIS\IIS\test\testassets\InProcessWebSite\Startup.cs (25)
300Assert.NotNull(ctx.Request.Headers);
468if ((string[])ctx.Request.Headers[headerName] != Array.Empty<string>())
472if (ctx.Request.Headers.TryGetValue(headerName, out var headerValue) || (string[])headerValue is not null)
479ctx.Request.Headers.Add(headerName, "test");
480ctx.Request.Headers[headerName] = default;
481ctx.Request.Headers.Add(headerName, "test");
482ctx.Request.Headers[headerName] = StringValues.Empty;
483ctx.Request.Headers.Add(headerName, "test");
488ctx.Request.Headers.Add(headerName, "test");
493ctx.Request.Headers[headerName] = default;
659if (ctx.Request.Headers.TryGetValue("Response-Content-Type", out var contentType))
691if (ctx.Request.Headers.TryGetValue("Response-Content-Type", out var contentType))
988ctx.Request.Headers.ContentLength = ctx.Request.Path.Value.Length;
1068ctx.Response.WriteAsync("Scheme:" + ctx.Request.Scheme + "; Original:" + ctx.Request.Headers["x-original-proto"]);
1115File.Delete(context.Request.Headers["ANCMRHPath"]);
1123return context.Response.WriteAsync(context.Request.Headers["ANCMRHPath"]);
1147var value = context.Request.Headers["foo"];
1154var value = context.Request.Headers["foo"];
1166Assert.True(ctx.Request.Headers.ContainsKey("Transfer-Encoding"));
1167Assert.Equal("gzip, chunked", ctx.Request.Headers["Transfer-Encoding"]);
1184Assert.True(ctx.Request.Headers.ContainsKey("Transfer-Encoding"));
1185Assert.Equal("gzip, chunked", ctx.Request.Headers["Transfer-Encoding"]);
1186Assert.False(ctx.Request.Headers.ContainsKey("Content-Length"));
1187Assert.True(ctx.Request.Headers.ContainsKey("X-Content-Length"));
1188Assert.Equal("5", ctx.Request.Headers["X-Content-Length"]);
Interop.FunctionalTests (5)
InteropWebsite (1)
JwtSample (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Antiforgery.Test (4)
Microsoft.AspNetCore.Authentication.Cookies (1)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebAssembly.Server.Tests (9)
Microsoft.AspNetCore.CookiePolicy.Test (16)
Microsoft.AspNetCore.Cors (4)
Microsoft.AspNetCore.Cors.Test (20)
CorsMiddlewareTests.cs (17)
392httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
421httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
659httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { OriginUrl });
660httpContext.Request.Headers.Add(CorsConstants.AccessControlRequestMethod, new[] { "PUT" });
700httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
730httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
758httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
759httpContext.Request.Headers.Add(CorsConstants.AccessControlRequestMethod, new[] { "GET" });
790httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
791httpContext.Request.Headers.Add(CorsConstants.AccessControlRequestMethod, new[] { "GET" });
822httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
857httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
894httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
927httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
957httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
984httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
1032httpContext.Request.Headers.Add(CorsConstants.Origin, new[] { "http://example.com" });
Microsoft.AspNetCore.Diagnostics (3)
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (5)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.HeaderParsing.Tests (9)
Microsoft.AspNetCore.HeaderPropagation (1)
Microsoft.AspNetCore.HeaderPropagation.Tests (8)
Microsoft.AspNetCore.HostFiltering (1)
Microsoft.AspNetCore.HostFiltering.Tests (7)
Microsoft.AspNetCore.Hosting (2)
Microsoft.AspNetCore.Http.Connections.Tests (11)
Microsoft.AspNetCore.Http.Extensions (3)
Microsoft.AspNetCore.Http.Extensions.Tests (159)
RequestDelegateFactoryTests.cs (22)
420if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
441if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
457if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
480if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
498if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
514if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
533if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
546if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
564if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
633httpContext.Request.Headers["Custom"] = new(new[] { "4", "5", "6" });
692httpContext.Request.Headers.Referer = "https://example.org";
854httpContext.Request.Headers["Content-Type"] = "application/json";
855httpContext.Request.Headers["Content-Length"] = stream.Length.ToString(CultureInfo.InvariantCulture);
887httpContext.Request.Headers["Content-Type"] = "application/json";
888httpContext.Request.Headers["Content-Length"] = "0";
1667httpContext.Request.Headers.Referer = "https://example.org";
1934httpContext.Request.Headers["Content-Type"] = "application/x-www-form-urlencoded";
1935httpContext.Request.Headers["Content-Length"] = "1";
1967httpContext.Request.Headers["Content-Type"] = "application/json";
1968httpContext.Request.Headers["Content-Length"] = "1000";
2879httpContext.Request.Headers["Content-Type"] = "application/json";
2880httpContext.Request.Headers["Content-Length"] = stream.Length.ToString(CultureInfo.InvariantCulture);
RequestDelegateGenerator\SharedTypes.cs (10)
226if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
253if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
278if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
305if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
322if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
338if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
359if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
392if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
426if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
450if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
Microsoft.AspNetCore.Http.Microbenchmarks (12)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (10)
226if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
253if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
278if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
305if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
322if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
338if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
359if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
392if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
426if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
450if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.Http.Results.Tests (16)
Microsoft.AspNetCore.Http.Tests (4)
Microsoft.AspNetCore.HttpLogging (8)
Microsoft.AspNetCore.HttpLogging.Tests (16)
Microsoft.AspNetCore.HttpOverrides (3)
Microsoft.AspNetCore.HttpOverrides.Tests (76)
ForwardedHeadersMiddlewareTest.cs (71)
40c.Request.Headers["X-Forwarded-For"] = "11.111.111.11:9090";
46Assert.False(context.Request.Headers.ContainsKey("X-Original-For"));
48Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-For"));
76c.Request.Headers["X-Forwarded-For"] = header;
83Assert.False(context.Request.Headers.ContainsKey("X-Original-For"));
84Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-For"));
85Assert.Equal(header, context.Request.Headers["X-Forwarded-For"]);
134c.Request.Headers["X-Forwarded-For"] = header;
141Assert.Equal(remainingHeader, context.Request.Headers["X-Forwarded-For"].ToString());
172c.Request.Headers["X-Forwarded-For"] = "10.0.0.1:1234";
181Assert.True(context.Request.Headers.ContainsKey("X-Original-For"));
183context.Request.Headers["X-Original-For"]);
189Assert.False(context.Request.Headers.ContainsKey("X-Original-For"));
245c.Request.Headers["X-Forwarded-For"] = header;
277c.Request.Headers["X-Forwarded-For"] = "BAD-IP";
306c.Request.Headers["X-Forwarded-Host"] = "testhost";
378c.Request.Headers["X-Forwarded-Host"] = hostHeader;
463c.Request.Headers["X-Forwarded-Host"] = hostHeader;
501Assert.Equal(hostHeader, context.Request.Headers.Host);
513ctx.Request.Headers["X-forwarded-Host"] = hostHeader;
552Assert.NotEqual<string>(hostHeader, context.Request.Headers.Host);
564ctx.Request.Headers["X-forwarded-Host"] = hostHeader;
588Assert.Equal("bar.foo.com:432", context.Request.Headers.Host);
600ctx.Request.Headers["X-forwarded-Host"] = "stuff:523, bar.foo.com:432, bar.com:80";
636c.Request.Headers["X-Forwarded-Proto"] = header;
690c.Request.Headers["X-Forwarded-Proto"] = scheme;
747c.Request.Headers["X-Forwarded-Proto"] = scheme;
785c.Request.Headers["X-Forwarded-Proto"] = protoHeader;
786c.Request.Headers["X-Forwarded-For"] = forHeader;
827c.Request.Headers["X-Forwarded-Proto"] = protoHeader;
828c.Request.Headers["X-Forwarded-For"] = forHeader;
877c.Request.Headers["X-Forwarded-Proto"] = protoHeader;
878c.Request.Headers["X-Forwarded-For"] = forHeader;
918c.Request.Headers["X-Forwarded-Proto"] = "Protocol";
919c.Request.Headers["X-Forwarded-For"] = "11.111.111.11";
920c.Request.Headers["X-Forwarded-Host"] = "testhost";
921c.Request.Headers["X-Forwarded-Prefix"] = "/pathbase";
953c.Request.Headers["X-Forwarded-Proto"] = "Protocol";
954c.Request.Headers["X-Forwarded-For"] = "11.111.111.11";
955c.Request.Headers["X-Forwarded-Host"] = "otherhost";
956c.Request.Headers["X-Forwarded-Prefix"] = "/pathbase";
988c.Request.Headers["X-Forwarded-Proto"] = "Protocol";
989c.Request.Headers["X-Forwarded-For"] = "11.111.111.11";
1042c.Request.Headers["X-Forwarded-For"] = forHeader;
1081c.Request.Headers["X-Forwarded-Proto"] = header;
1085Assert.Equal(remainingHeader, context.Request.Headers["X-Forwarded-Proto"].ToString());
1118c.Request.Headers["X-Forwarded-Proto"] = header;
1122Assert.Equal(remainingHeader, context.Request.Headers["X-Forwarded-Proto"].ToString());
1157c.Request.Headers["X-Forwarded-Prefix"] = forwardedPrefix;
1162Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix"));
1164Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-Prefix"));
1200c.Request.Headers["X-Forwarded-Prefix"] = forwardedPrefix;
1204Assert.Equal(expectedOriginalPrefix, context.Request.Headers["X-Original-Prefix"]);
1206Assert.False(context.Request.Headers.ContainsKey("X-Forwarded-Prefix"));
1235c.Request.Headers["X-Forwarded-Prefix"] = forwardedPrefix;
1239Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix"));
1240Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-Prefix"));
1279c.Request.Headers["X-Forwarded-For"] = forwardedFor;
1280c.Request.Headers["X-Forwarded-Host"] = forwardedHost;
1281c.Request.Headers["X-Forwarded-Proto"] = forwardedProto;
1282c.Request.Headers["X-Forwarded-Prefix"] = forwardedPrefix;
1286Assert.False(context.Request.Headers.ContainsKey("X-Original-For"));
1287Assert.False(context.Request.Headers.ContainsKey("X-Original-Host"));
1288Assert.False(context.Request.Headers.ContainsKey("X-Original-Proto"));
1289Assert.False(context.Request.Headers.ContainsKey("X-Original-Prefix"));
1290Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-For"));
1291Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-Host"));
1292Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-Proto"));
1293Assert.True(context.Request.Headers.ContainsKey("X-Forwarded-Prefix"));
1325c.Request.Headers["X-Forwarded-Prefix"] = forwardedPrefix;
1328Assert.Equal(expectedforwardedPrefix, context.Request.Headers["X-Forwarded-Prefix"].ToString());
Microsoft.AspNetCore.Mvc.Core (10)
Microsoft.AspNetCore.Mvc.Core.Test (53)
ModelBinding\Binders\HeaderModelBinderTests.cs (11)
28bindingContext.HttpContext.Request.Headers.Add(header, new[] { headerValue });
50bindingContext.HttpContext.Request.Headers.Add(header, new[] { headerValue });
77bindingContext.HttpContext.Request.Headers.Add(header, new[] { headerValue });
96bindingContext.HttpContext.Request.Headers.Add("Header", new[] { headerValue });
146bindingContext.HttpContext.Request.Headers.Add("Header", headerValue);
206bindingContext.HttpContext.Request.Headers.Add("Header", new[] { headerValue });
223bindingContext.HttpContext.Request.Headers.Add("Header", "application/json,text/json");
240bindingContext.HttpContext.Request.Headers.Add("Header", "application/json,text/json");
264bindingContext.HttpContext.Request.Headers.Add("Header", "application/json,text/json");
286bindingContext.HttpContext.Request.Headers.Add("Header", headerValue);
310bindingContext.HttpContext.Request.Headers.Add("Header", headerValue);
Microsoft.AspNetCore.Mvc.Cors (5)
Microsoft.AspNetCore.Mvc.Cors.Test (11)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (4)
Microsoft.AspNetCore.Mvc.IntegrationTests (25)
HeaderModelBinderIntegrationTest.cs (13)
81request => request.Headers.Add("Header", new[] { "someValue" }));
123request => request.Headers.Add("Header", new[] { "someValue" }));
169request => request.Headers.Add("Header", new[] { "someValue" }));
216request => request.Headers.Add("Header", new[] { "someValue" }));
275void action(HttpRequest r) => r.Headers.Add("CustomParameter", new[] { expectedAttemptedValue });
322request.Headers.Add("NoCommaString", "someValue");
323request.Headers.Add("OneCommaSeparatedString", "one, two, three");
324request.Headers.Add("IntProperty", "10");
325request.Headers.Add("NullableIntProperty", "300");
326request.Headers.Add("ArrayOfString", "first, second");
327request.Headers.Add("EnumerableOfDouble", "10.51, 45.44");
328request.Headers.Add("ListOfEnum", "Sedan, Coupe");
329request.Headers.Add("ListOfOrderWithTypeConverter", "10");
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (8)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Microsoft.AspNetCore.OutputCaching.Tests (34)
Microsoft.AspNetCore.Owin.Tests (2)
Microsoft.AspNetCore.RequestDecompression (2)
Microsoft.AspNetCore.RequestDecompression.Microbenchmarks (1)
Microsoft.AspNetCore.RequestDecompression.Tests (8)
Microsoft.AspNetCore.ResponseCaching (8)
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
Microsoft.AspNetCore.ResponseCaching.Tests (2)
Microsoft.AspNetCore.ResponseCompression (2)
Microsoft.AspNetCore.ResponseCompression.Microbenchmarks (1)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Rewrite.Tests (6)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Routing.Tests (24)
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (22)
80httpContext.Request.Headers["Accept-Encoding"] = "gzip, br";
100httpContext.Request.Headers["Accept-Encoding"] = "br";
120httpContext.Request.Headers["Accept-Encoding"] = "br";
140httpContext.Request.Headers["Accept-Encoding"] = "gzip;q=0.5, br;q=1.0";
160httpContext.Request.Headers["Accept-Encoding"] = "gzip;q=0.5, br;q=1.0";
180httpContext.Request.Headers["Accept-Encoding"] = "gzip, br";
199httpContext.Request.Headers["Accept-Encoding"] = "zstd";
220httpContext.Request.Headers["Accept-Encoding"] = "zstd";
241httpContext.Request.Headers["Accept-Encoding"] = "gzip, br";
260httpContext.Request.Headers["Accept-Encoding"] = "br, gzip";
279httpContext.Request.Headers["Accept-Encoding"] = "identity";
298httpContext.Request.Headers["Accept-Encoding"] = "identity";
317httpContext.Request.Headers["Accept-Encoding"] = "";
449httpContext.Request.Headers["Accept-Encoding"] = "gzip, br";
467httpContext.Request.Headers["Accept-Encoding"] = "br";
485httpContext.Request.Headers["Accept-Encoding"] = "br";
503httpContext.Request.Headers["Accept-Encoding"] = "gzip;q=0.5, br;q=1.0";
521httpContext.Request.Headers["Accept-Encoding"] = "gzip;q=0.5, br;q=1.0";
539httpContext.Request.Headers["Accept-Encoding"] = "gzip, br";
557httpContext.Request.Headers["Accept-Encoding"] = "identity";
575httpContext.Request.Headers["Accept-Encoding"] = "identity";
593httpContext.Request.Headers["Accept-Encoding"] = "";
Microsoft.AspNetCore.Security.Microbenchmarks (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (21)
Microsoft.AspNetCore.Server.IISIntegration (4)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (2)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticFiles (1)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.StaticFiles.Tests (3)
Microsoft.AspNetCore.TestHost (8)
Microsoft.AspNetCore.TestHost.Tests (11)
Microsoft.AspNetCore.WebSockets (6)
Microsoft.AspNetCore.WebSockets.Tests (8)
WebSocketMiddlewareTests.cs (6)
40Assert.Equal("alpha, bravo, charlie", context.Request.Headers["Sec-WebSocket-Protocol"]);
728Assert.Same(HeaderNames.Upgrade, context.Request.Headers.Connection.ToString());
729Assert.Same(Constants.Headers.UpgradeWebSocket, context.Request.Headers.Upgrade.ToString());
730Assert.Same(Constants.Headers.SupportedVersion, context.Request.Headers.SecWebSocketVersion.ToString());
748Assert.Equal("Upgrade, keep-alive", context.Request.Headers.Connection.ToString());
749Assert.Equal("websocket, example", context.Request.Headers.Upgrade.ToString());
NativeIISSample (2)
OpenIdConnectSample (1)
SignalR.Client.FunctionalTestApp (6)
StatusCodePagesSample (1)
WebPubSubWeb (2)