18 references to Server
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
592Assert.Equal("MyServer/7.8", response.Headers.Server.Single().Product.ToString());
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
559await deploymentResult.HttpClient.RetryRequestAsync("/HelloWorld", r => r.Headers.Server.ToString().StartsWith("Microsoft", StringComparison.Ordinal));
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
559await deploymentResult.HttpClient.RetryRequestAsync("/HelloWorld", r => r.Headers.Server.ToString().StartsWith("Microsoft", StringComparison.Ordinal));
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
559await deploymentResult.HttpClient.RetryRequestAsync("/HelloWorld", r => r.Headers.Server.ToString().StartsWith("Microsoft", StringComparison.Ordinal));
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (1)
592Assert.Equal("MyServer/7.8", response.Headers.Server.Single().Product.ToString());
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (1)
559await deploymentResult.HttpClient.RetryRequestAsync("/HelloWorld", r => r.Headers.Server.ToString().StartsWith("Microsoft", StringComparison.Ordinal));
Microsoft.AspNetCore.FunctionalTests (3)
WebHostFunctionalTests.cs (3)
45Assert.Equal("Kestrel", response.Headers.Server.ToString()); 70Assert.Equal("Kestrel", response.Headers.Server.ToString()); 171Assert.Equal("Microsoft-IIS/10.0", response.Headers.Server.ToString());
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (8)
Listener\ResponseHeaderTests.cs (7)
43Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 66Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 88Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 117Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 146Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 175Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString()); 198Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString());
ResponseHeaderTests.cs (1)
34Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers.Server.ToString());
ServerComparison.FunctionalTests (1)
HelloWorldTest.cs (1)
84var serverHeader = response.Headers.Server.ToString();