TryAddWithoutValidation ViaHeaderValue (#72741)
authorfeiyun0112 <feiyun0112@gmail.com>
Mon, 25 Jul 2022 15:24:41 +0000 (23:24 +0800)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 15:24:41 +0000 (08:24 -0700)
commitdfd6efc7064b8ede31bbe6fd73413dbd12bcaaa6
tree4069d5a34fa750d138e56f0512a9ae3007c2c8e2
parentb4991a5a43d379f271e1f26286eb24709e62da9c
TryAddWithoutValidation ViaHeaderValue (#72741)

* TryAddWithoutValidation ViaHeaderValue

* checking for 0
src/libraries/System.Net.Http/src/System/Net/Http/Headers/ViaHeaderValue.cs
src/libraries/System.Net.Http/tests/UnitTests/Headers/HttpHeadersTest.cs