1 write to Context
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMiddlewareTest.cs (1)
14
Context
= new DefaultHttpContext();
19 references to Context
Microsoft.AspNetCore.HeaderPropagation.Tests (19)
HeaderPropagationMiddlewareTest.cs (19)
40
Context
.Request.Headers.Add("in", "test");
43
await Middleware.Invoke(
Context
);
57
await Middleware.Invoke(
Context
);
67
Context
.Request.Headers.Add("in", "test");
70
await Middleware.Invoke(
Context
);
82
Context
.Request.Headers.Add("in", "test");
83
Context
.Request.Headers.Add("another", "test2");
86
await Middleware.Invoke(
Context
);
102
Context
.Request.Headers.Add("in", headerValue);
105
await Middleware.Invoke(
Context
);
128
Context
.Request.Headers.Add("in", "value");
131
await Middleware.Invoke(
Context
);
138
Assert.Same(
Context
, receivedContext);
146
Context
.Request.Headers.Add("in", "no");
149
await Middleware.Invoke(
Context
);
161
Context
.Request.Headers.Add("in", "no");
164
await Middleware.Invoke(
Context
);
177
await Middleware.Invoke(
Context
);
192
await Middleware.Invoke(
Context
);