2 writes to Headers
Microsoft.AspNetCore.HeaderPropagation (1)
HeaderPropagationMiddleware.cs (1)
46
var headers = _values.
Headers
??= new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMessageHandlerTest.cs (1)
17
State.
Headers
= new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase);
19 references to Headers
Microsoft.AspNetCore.HeaderPropagation (3)
HeaderPropagationMessageHandler.cs (2)
43
var captured = _values.
Headers
;
47
$"The {nameof(HeaderPropagationValues)}.{nameof(HeaderPropagationValues.
Headers
)} property has not been " +
HeaderPropagationValues.cs (1)
20
/// The keys of <see cref="
Headers
"/> correspond to <see cref="HeaderPropagationEntry.CapturedHeaderName"/>.
Microsoft.AspNetCore.HeaderPropagation.Tests (16)
HeaderPropagationMessageHandlerTest.cs (15)
43
State.
Headers
.Add("out", "test");
58
State.
Headers
.Add("out", new[] { "one", "two" });
72
State.
Headers
.Add("Content-Type", "test");
86
State.
Headers
.Add("Content-Language", "test");
100
State.
Headers
.Add("Content-Language", new[] { "one", "two" });
115
State.
Headers
.Add("state", "test");
142
State.
Headers
.Add("inout", "test");
157
State.
Headers
.Add("inout", "test");
158
State.
Headers
.Add("another", "test2");
177
State.
Headers
.Add("inout", headerValue);
194
State.
Headers
.Add("inout", "test");
212
State.
Headers
.Add("name", "value");
228
State.
Headers
.Add("name", "value");
246
State.
Headers
.Add("name", "value");
247
State.
Headers
.Add("other", "override");
HeaderPropagationMiddlewareTest.cs (1)
17
CapturedHeaders = State.
Headers
;