17 references to CustomHeader1
Microsoft.AspNetCore.Server.HttpSys.Tests (17)
RequestHeaderTests.cs (17)
67SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
76Assert.Contains(CustomHeader1, requestHeaders.Keys);
88SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
97Assert.Contains(CustomHeader1, requestHeaders.Keys);
127SetInvalidUnknownHeaders(nativeMemory, ref requestStructure, new[] { CustomHeader1 });
146var remainingMemory = SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
158Assert.Contains(CustomHeader1, requestHeaders.Keys);
170var remainingMemory = SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
182Assert.Contains(CustomHeader1, requestHeaders.Keys);
193SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
202requestHeaders.Remove(CustomHeader1);
215SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1") });
237SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1"), (CustomHeader2, null) });
243Assert.Contains(CustomHeader1, requestHeaders.Keys);
246requestHeaders.Remove(CustomHeader1);
248Assert.DoesNotContain(CustomHeader1, requestHeaders.Keys);
258SetUnknownHeaders(nativeMemory, ref requestStructure, new[] { (CustomHeader1, "1") });