We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6bf4d5 commit de4440cCopy full SHA for de4440c
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs
@@ -2345,13 +2345,10 @@ public enum HeaderType
2345
Cookie
2346
}
2347
2348
- [Fact]
+ [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBrowser))]
2349
public async Task LargeUriAndHeaders_Works()
2350
{
2351
- int length =
2352
- IsWinHttpHandler ? 65_000 :
2353
- PlatformDetection.IsBrowser ? 4_000 :
2354
- 10_000_000;
+ int length = IsWinHttpHandler ? 65_000 : 10_000_000;
2355
2356
string longPath = "/" + new string('X', length);
2357
string longHeaderName = new string('Y', length);
0 commit comments