Base:
6 references to ToString
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
348requestHeaders[_options.OriginalHostHeaderName] = request.Host.ToString();
Microsoft.AspNetCore.HttpOverrides.Tests (5)
ForwardedHeadersMiddlewareTest.cs (5)
309Assert.Equal("testhost", context.Request.Host.ToString()); 365Assert.Equal(hostHeader, context.Request.Host.ToString()); 925Assert.Equal("testhost", context.Request.Host.ToString()); 960Assert.Equal("localhost", context.Request.Host.ToString()); 993Assert.Equal("localhost", context.Request.Host.ToString());