10 references to _receivedHeaders
InMemory.FunctionalTests (10)
Http2\Http2ConnectionTests.cs (6)
187var contentType1 = _receivedHeaders["Content-Type"]; 204var contentType2 = _receivedHeaders["Content-Type"]; 2233Assert.False(_receivedHeaders.ContainsKey(header.Key)); 3093Assert.Equal("a=0; b=1; c=2", _receivedHeaders[HeaderNames.Cookie]); 4864Assert.False(_receivedHeaders.ContainsKey("trailer-1")); 4865Assert.False(_receivedHeaders.ContainsKey("trailer-2"));
Http2\Http2TestBase.cs (4)
198_receivedHeaders[header.Key] = header.Value.ToString(); 224_receivedHeaders[header.Key] = header.Value.ToString(); 1360Assert.True(_receivedHeaders.TryGetValue(HeaderNames.Host, out var host), header.Key); 1373Assert.True(_receivedHeaders.TryGetValue(header.Key, out var value), header.Key);