Remove max header length check from WebHeaderCollection (#40529)
authorNatalia Kondratyeva <knatalia@microsoft.com>
Tue, 11 Aug 2020 12:26:25 +0000 (15:26 +0300)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 12:26:25 +0000 (15:26 +0300)
commit7a2671ad3600326a5f5b6794faaeafc480415ad5
treeaa84e89af61bb12301346cd0059ded24254f8b94
parent0d6d73a6439e394e3ea81ae60b286ecc1ba41691
Remove max header length check from WebHeaderCollection (#40529)

Removed conditional max header length check from
System.Net.WebHeaderCollection as it is redundant and produces
puzzling behavior. Removed unused values of WebHeaderCollectionType
enum.

Contributes to #1486
src/libraries/System.Net.HttpListener/tests/HttpListenerResponseTests.cs
src/libraries/System.Net.WebHeaderCollection/src/Resources/Strings.resx
src/libraries/System.Net.WebHeaderCollection/src/System/Net/WebHeaderCollection.cs
src/libraries/System.Net.WebHeaderCollection/tests/WebHeaderCollectionTest.cs