1 write to Headers
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMessageHandlerTest.cs (1)
267
Headers
= request.Headers;
23 references to Headers
Microsoft.AspNetCore.HeaderPropagation.Tests (23)
HeaderPropagationMessageHandlerTest.cs (23)
49
Assert.True(Handler.
Headers
.Contains("out"));
50
Assert.Equal(new[] { "test" }, Handler.
Headers
.GetValues("out"));
64
Assert.True(Handler.
Headers
.Contains("out"));
65
Assert.Equal(new[] { "one", "two" }, Handler.
Headers
.GetValues("out"));
121
Assert.True(Handler.
Headers
.Contains("out"));
122
Assert.Equal(new[] { "test" }, Handler.
Headers
.GetValues("out"));
135
Assert.Empty(Handler.
Headers
);
148
Assert.Empty(Handler.
Headers
);
164
Assert.True(Handler.
Headers
.Contains("inout"));
165
Assert.True(Handler.
Headers
.Contains("another"));
166
Assert.Equal(new[] { "test" }, Handler.
Headers
.GetValues("inout"));
167
Assert.Equal(new[] { "test2" }, Handler.
Headers
.GetValues("another"));
183
Assert.False(Handler.
Headers
.Contains("inout"));
204
Assert.True(Handler.
Headers
.Contains("inout"));
205
Assert.Equal(expectedValues, Handler.
Headers
.GetValues("inout"));
220
Assert.True(Handler.
Headers
.Contains("name"));
221
Assert.Equal(new[] { "value" }, Handler.
Headers
.GetValues("name"));
236
Assert.True(Handler.
Headers
.Contains("name"));
237
Assert.Equal(new[] { "value" }, Handler.
Headers
.GetValues("name"));
238
Assert.True(Handler.
Headers
.Contains("other"));
239
Assert.Equal(new[] { "value" }, Handler.
Headers
.GetValues("name"));
255
Assert.True(Handler.
Headers
.Contains("name"));
256
Assert.Equal(new[] { "value" }, Handler.
Headers
.GetValues("name"));