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