Our FWLB is sending an X-Forwarded-Proto
header, which is visible in the IIS logs:
#Fields: date time cs-method ... X-Forwarded-For X-Forwarded-Proto
2017-06-05 13:34:35 GET ... 1.2.3.4 http
But from C# it is not visible:
var output = $"X-Forwarded-Proto is {Request.Headers["X-Forwarded-Proto"]} headers are: {string.Join(", ", Request.Headers)}";
Output
X-Forwarded-Proto is headers are: Connection=close&Host=1.1.1.1
Why is the header not found in C#?