20 references to RequestVersionOrHigher
HttpClientApp (1)
Program.cs (1)
20client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
IIS.FunctionalTests (2)
Http3Tests.cs (2)
64client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 89client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
Interop.FunctionalTests (5)
Http2WebSocketInteropTests.cs (2)
30new object[] { "http", "1.1", HttpVersionPolicy.RequestVersionOrHigher, HttpProtocols.Http1AndHttp2, "HTTP/1.1" }, // No TLS/APLN, Can't upgrade 38list.Add(new object[] { "https", "1.1", HttpVersionPolicy.RequestVersionOrHigher, HttpProtocols.Http1AndHttp2, "HTTP/2" }); // Upgrade
Http3\Http3RequestTests.cs (3)
913request1.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 926request2.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 942request3.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Http3Tests.cs (2)
72client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 113client.DefaultVersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (4)
WebHostTests.cs (4)
247request1.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 261request2.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 318request1.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher; 331request2.VersionPolicy = HttpVersionPolicy.RequestVersionOrHigher;
System.Net.Http (4)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (3)
420(request.Version.Major >= 3 || (request.VersionPolicy == HttpVersionPolicy.RequestVersionOrHigher && IsSecure)) && 453(request.Version.Major >= 2 || (request.VersionPolicy == HttpVersionPolicy.RequestVersionOrHigher && IsSecure)) && 730if (request.Version.Major >= 2 || request.VersionPolicy == HttpVersionPolicy.RequestVersionOrHigher)
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
589if (request.VersionPolicy == HttpVersionPolicy.RequestVersionOrHigher)
System.Net.WebSockets.Client (2)
System\Net\WebSockets\WebSocketHandle.Managed.cs (2)
54if (options.HttpVersion.Major >= 2 || options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrHigher) 81|| (options.HttpVersion == HttpVersion.Version11 && options.HttpVersionPolicy == HttpVersionPolicy.RequestVersionOrHigher && uri.Scheme == UriScheme.Wss))