15 references to CustomHeader2
Microsoft.AspNetCore.Server.HttpSys.Tests (15)
RequestHeaderTests.cs (15)
67SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
77Assert.Contains(CustomHeader2, requestHeaders.Keys);
88SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
98Assert.Contains(CustomHeader2, requestHeaders.Keys);
146var remainingMemory = SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
159Assert.Contains(CustomHeader2, requestHeaders.Keys);
170var remainingMemory = SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
183Assert.Contains(CustomHeader2, requestHeaders.Keys);
193SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
224requestHeaders[CustomHeader2] = "2";
237SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
244Assert.Contains(CustomHeader2, requestHeaders.Keys);
264Assert.DoesNotContain(CustomHeader2, requestHeaders.Keys);
266requestHeaders[CustomHeader2] = "2";
268Assert.Contains(CustomHeader2, requestHeaders.Keys);