45 writes to DefaultRequestVersion
HttpClientApp (1)
Program.cs (1)
17client.DefaultRequestVersion =
IIS.FunctionalTests (11)
Http2TrailersResetTests.cs (1)
518client.DefaultRequestVersion = http2 ? HttpVersion.Version20 : HttpVersion.Version11;
Http3Tests.cs (7)
48client.DefaultRequestVersion = HttpVersion.Version30; 88client.DefaultRequestVersion = HttpVersion.Version20; 107client.DefaultRequestVersion = HttpVersion.Version30; 121client.DefaultRequestVersion = HttpVersion.Version30; 134client.DefaultRequestVersion = HttpVersion.Version30; 150client.DefaultRequestVersion = HttpVersion.Version30; 167client.DefaultRequestVersion = HttpVersion.Version30;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
361client.DefaultRequestVersion = HttpVersion.Version11; 375client.DefaultRequestVersion = HttpVersion.Version20; 395client.DefaultRequestVersion = http2 ? HttpVersion.Version20 : HttpVersion.Version11;
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (3)
361client.DefaultRequestVersion = HttpVersion.Version11; 375client.DefaultRequestVersion = HttpVersion.Version20; 395client.DefaultRequestVersion = http2 ? HttpVersion.Version20 : HttpVersion.Version11;
Interop.FunctionalTests (3)
HttpClientHttp2InteropTests.cs (3)
1631client.DefaultRequestVersion = HttpVersion.Version20; 1676client.DefaultRequestVersion = HttpVersion.Version20; 1691client.DefaultRequestVersion = HttpVersion.Version20;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (10)
Http2Tests.cs (2)
625client.DefaultRequestVersion = HttpVersion.Version11; 647client.DefaultRequestVersion = HttpVersion.Version20;
Http3Tests.cs (7)
42client.DefaultRequestVersion = HttpVersion.Version30; 112client.DefaultRequestVersion = HttpVersion.Version20; 146client.DefaultRequestVersion = HttpVersion.Version30; 174client.DefaultRequestVersion = HttpVersion.Version30; 204client.DefaultRequestVersion = HttpVersion.Version30; 229client.DefaultRequestVersion = HttpVersion.Version30; 253client.DefaultRequestVersion = HttpVersion.Version30;
ResponseTrailersTests.cs (1)
364client.DefaultRequestVersion = http2 ? HttpVersion.Version20 : HttpVersion.Version11;
Microsoft.AspNetCore.TestHost.Tests (7)
ResponseResetTests.cs (7)
29client.DefaultRequestVersion = HttpVersion.Version11; 45client.DefaultRequestVersion = HttpVersion.Version20; 61client.DefaultRequestVersion = HttpVersion.Version30; 80client.DefaultRequestVersion = HttpVersion.Version20; 99client.DefaultRequestVersion = HttpVersion.Version20; 121client.DefaultRequestVersion = HttpVersion.Version20; 147client.DefaultRequestVersion = HttpVersion.Version20;
Negotiate.Client (8)
Controllers\AuthTestController.cs (8)
32client.DefaultRequestVersion = GetProtocolVersion(protocol); 53client.DefaultRequestVersion = GetProtocolVersion(protocol); 81client.DefaultRequestVersion = GetProtocolVersion(protocol); 104client.DefaultRequestVersion = GetProtocolVersion(protocol1); 137client.DefaultRequestVersion = GetProtocolVersion(protocol1); 170client.DefaultRequestVersion = GetProtocolVersion(protocol1); 201client.DefaultRequestVersion = GetProtocolVersion(protocol); 227client.DefaultRequestVersion = GetProtocolVersion(protocol);
Sockets.FunctionalTests (2)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (1)
38DefaultRequestVersion = HttpVersion.Version20,
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (1)
39DefaultRequestVersion = new Version(2, 0),
4 references to DefaultRequestVersion
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
221requestMessage.Version = Backchannel.DefaultRequestVersion;
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
598requestMessage.Version = Backchannel.DefaultRequestVersion; 993requestMessage.Version = Backchannel.DefaultRequestVersion; 1059requestMessage.Version = Backchannel.DefaultRequestVersion;