From da3e73ad4d79d9b458e8a9ac9ada3861f4027738 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 10 Oct 2026 05:31:21 +0200 Subject: [PATCH] HostTrustTests: give the probe context an http scheme to start from Co-Authored-By: Claude Opus 5.5 --- tests/Bifrost.Web.Tests/HostTrustTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Bifrost.Web.Tests/HostTrustTests.cs b/tests/Bifrost.Web.Tests/HostTrustTests.cs index f1f0e8a..99f8676 100644 --- a/tests/Bifrost.Web.Tests/HostTrustTests.cs +++ b/tests/Bifrost.Web.Tests/HostTrustTests.cs @@ -115,6 +115,7 @@ public sealed class HostTrustTests : IClassFixture NullLoggerFactory.Instance, options); var context = new DefaultHttpContext(); + context.Request.Scheme = "http"; context.Connection.RemoteIpAddress = IPAddress.Parse(peer); context.Request.Headers["X-Forwarded-For"] = forwardedFor; if (forwardedProto is not null)