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