Simplify KnownHeaders lookup in SocketsHttpHandler (#34974)
authorStephen Toub <stoub@microsoft.com>
Wed, 15 Apr 2020 17:13:37 +0000 (13:13 -0400)
committerGitHub <noreply@github.com>
Wed, 15 Apr 2020 17:13:37 +0000 (13:13 -0400)
commitcd024d48beea196325abe27e52b2737982e053f7
tree128a4d506efb63e73a790f1dd674bdab4093dd48
parent1cfccd2a7937117341b256847e613dd710a70adb
Simplify KnownHeaders lookup in SocketsHttpHandler (#34974)

* Simplify KnownHeaders lookup

* Update src/libraries/System.Net.Http/src/System/Net/Http/Headers/KnownHeaders.cs

Co-Authored-By: David Shulman <david.shulman@microsoft.com>
Co-authored-by: David Shulman <david.shulman@microsoft.com>
src/libraries/System.Net.Http/src/System/Net/Http/Headers/KnownHeaders.cs
src/libraries/System.Net.Http/tests/UnitTests/Headers/KnownHeadersTest.cs [new file with mode: 0644]
src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj