@@ -24,7 +24,6 @@ public HttpClientHandlerTest_Headers(ITestOutputHelper output) : base(output) {
24
24
private sealed class DerivedHttpHeaders : HttpHeaders { }
25
25
26
26
[ Fact ]
27
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
28
27
public async Task SendAsync_RequestWithSimpleHeader_ResponseReferencesUnmodifiedRequestHeaders ( )
29
28
{
30
29
const string HeaderKey = "some-header-123" , HeaderValue = "this is the expected header value" ;
@@ -72,7 +71,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
72
71
}
73
72
74
73
[ Fact ]
75
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
76
74
public async Task SendAsync_LargeHeaders_CorrectlyWritten ( )
77
75
{
78
76
if ( UseVersion == HttpVersion . Version30 )
@@ -108,7 +106,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
108
106
}
109
107
110
108
[ Fact ]
111
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
112
109
public async Task SendAsync_DefaultHeaders_CorrectlyWritten ( )
113
110
{
114
111
const string Version = "2017-04-17" ;
@@ -170,7 +167,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
170
167
[ InlineData ( "Accept-CharSet" , "text/plain, text/json" , false ) ] // invalid format for header but added with TryAddWithoutValidation
171
168
[ InlineData ( "Content-Location" , "" , false ) ] // invalid format for header but added with TryAddWithoutValidation
172
169
[ InlineData ( "Max-Forwards" , "NotAnInteger" , false ) ] // invalid format for header but added with TryAddWithoutValidation
173
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
174
170
public async Task SendAsync_SpecialHeaderKeyOrValue_Success ( string key , string value , bool parsable )
175
171
{
176
172
if ( PlatformDetection . IsBrowser && ( key == "Content-Location" || key == "Date" || key == "Accept-CharSet" ) )
@@ -216,7 +212,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
216
212
[ Theory ]
217
213
[ InlineData ( "Content-Security-Policy" , 4618 ) ]
218
214
[ InlineData ( "RandomCustomHeader" , 12345 ) ]
219
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
220
215
public async Task GetAsync_LargeHeader_Success ( string headerName , int headerValueLength )
221
216
{
222
217
var rand = new Random ( 42 ) ;
@@ -241,7 +236,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
241
236
}
242
237
243
238
[ Fact ]
244
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
245
239
public async Task GetAsync_EmptyResponseHeader_Success ( )
246
240
{
247
241
IList < HttpHeaderData > headers = new HttpHeaderData [ ] {
@@ -273,7 +267,6 @@ await server.AcceptConnectionAsync(async connection =>
273
267
}
274
268
275
269
[ Fact ]
276
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
277
270
public async Task GetAsync_MissingExpires_ReturnNull ( )
278
271
{
279
272
await LoopbackServerFactory . CreateClientAndServerAsync ( async uri =>
@@ -294,7 +287,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
294
287
[ InlineData ( "Thu, 01 Dec 1994 16:00:00 GMT" , true ) ]
295
288
[ InlineData ( "-1" , false ) ]
296
289
[ InlineData ( "0" , false ) ]
297
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
298
290
public async Task SendAsync_Expires_Success ( string value , bool isValid )
299
291
{
300
292
await LoopbackServerFactory . CreateClientAndServerAsync ( async uri =>
@@ -333,7 +325,6 @@ public void HeadersAdd_CustomExpires_Success(string value, bool isValid)
333
325
334
326
[ Theory ]
335
327
[ InlineData ( "Accept-Encoding" , "identity,gzip" ) ]
336
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
337
328
public async Task SendAsync_RequestHeaderInResponse_Success ( string name , string value )
338
329
{
339
330
await LoopbackServerFactory . CreateClientAndServerAsync ( async uri =>
@@ -358,7 +349,6 @@ await LoopbackServerFactory.CreateClientAndServerAsync(async uri =>
358
349
[ Theory ]
359
350
[ InlineData ( false ) ]
360
351
[ InlineData ( true ) ]
361
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/86326" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNodeJS ) ) ]
362
352
public async Task SendAsync_GetWithValidHostHeader_Success ( bool withPort )
363
353
{
364
354
if ( UseVersion == HttpVersion . Version30 )
0 commit comments